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