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