256ebe
From fbc7f0e5ac8c292b865a8e02ceed2efa101d145c Mon Sep 17 00:00:00 2001
256ebe
From: Atin Mukherjee <amukherj@redhat.com>
256ebe
Date: Mon, 12 Mar 2018 19:47:11 +0530
256ebe
Subject: [PATCH 21/52] cli/glusterfsd: remove copyright information
256ebe
256ebe
There's no point of dumping upstream copyright information in --version.
256ebe
256ebe
Label: DOWNSTREAM ONLY
256ebe
256ebe
Change-Id: I3a10e30878698e1d53082936bbf22bca560a3896
256ebe
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
256ebe
Reviewed-on: https://code.engineering.redhat.com/gerrit/132445
256ebe
Tested-by: RHGS Build Bot <nigelb@redhat.com>
256ebe
Reviewed-by: Milind Changire <mchangir@redhat.com>
256ebe
---
256ebe
 cli/src/cli.c               | 11 +----------
256ebe
 glusterfsd/src/glusterfsd.c | 11 +----------
256ebe
 2 files changed, 2 insertions(+), 20 deletions(-)
256ebe
256ebe
diff --git a/cli/src/cli.c b/cli/src/cli.c
256ebe
index 84ce0f4..08f117e 100644
256ebe
--- a/cli/src/cli.c
256ebe
+++ b/cli/src/cli.c
256ebe
@@ -65,16 +65,7 @@ extern int connected;
256ebe
 /* using argp for command line parsing */
256ebe
 
256ebe
 const char *argp_program_version =
256ebe
-    "" PACKAGE_NAME " " PACKAGE_VERSION
256ebe
-    "\nRepository revision: " GLUSTERFS_REPOSITORY_REVISION
256ebe
-    "\n"
256ebe
-    "Copyright (c) 2006-2016 Red Hat, Inc. "
256ebe
-    "<https://www.gluster.org/>\n"
256ebe
-    "GlusterFS comes with ABSOLUTELY NO WARRANTY.\n"
256ebe
-    "It is licensed to you under your choice of the GNU Lesser\n"
256ebe
-    "General Public License, version 3 or any later version (LGPLv3\n"
256ebe
-    "or later), or the GNU General Public License, version 2 (GPLv2),\n"
256ebe
-    "in all cases as published by the Free Software Foundation.";
256ebe
+    PACKAGE_NAME" "PACKAGE_VERSION;
256ebe
 const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";
256ebe
 
256ebe
 struct rpc_clnt *global_quotad_rpc;
256ebe
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
256ebe
index 5d46b3d..c983882 100644
256ebe
--- a/glusterfsd/src/glusterfsd.c
256ebe
+++ b/glusterfsd/src/glusterfsd.c
256ebe
@@ -86,16 +86,7 @@ static char argp_doc[] =
256ebe
     "--volfile-server=SERVER [MOUNT-POINT]\n"
256ebe
     "--volfile=VOLFILE [MOUNT-POINT]";
256ebe
 const char *argp_program_version =
256ebe
-    "" PACKAGE_NAME " " PACKAGE_VERSION
256ebe
-    "\nRepository revision: " GLUSTERFS_REPOSITORY_REVISION
256ebe
-    "\n"
256ebe
-    "Copyright (c) 2006-2016 Red Hat, Inc. "
256ebe
-    "<https://www.gluster.org/>\n"
256ebe
-    "GlusterFS comes with ABSOLUTELY NO WARRANTY.\n"
256ebe
-    "It is licensed to you under your choice of the GNU Lesser\n"
256ebe
-    "General Public License, version 3 or any later version (LGPLv3\n"
256ebe
-    "or later), or the GNU General Public License, version 2 (GPLv2),\n"
256ebe
-    "in all cases as published by the Free Software Foundation.";
256ebe
+    PACKAGE_NAME" "PACKAGE_VERSION;
256ebe
 const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";
256ebe
 
256ebe
 static error_t
256ebe
-- 
256ebe
1.8.3.1
256ebe