[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] base64: use the HELP and VERSION macros instead of the hard code
From: |
Thiago Farina |
Subject: |
[PATCH] base64: use the HELP and VERSION macros instead of the hard coded text. |
Date: |
Sun, 13 Dec 2009 14:43:54 -0500 |
>From d94e2570f936dc44f719177fd81abe8311955598 Mon Sep 17 00:00:00 2001
From: Thiago Farina <address@hidden>
Date: Sun, 13 Dec 2009 14:27:59 -0500
Subject: [PATCH] base64: use the HELP and VERSION macros instead of the hard
coded text.
* src/base64: Use HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
macros instead of the hard coded text.
---
src/base64.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/base64.c b/src/base64.c
index 0bca87c..723385f 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -68,9 +68,8 @@ Base64 encode or decode FILE, or standard input, to standard
output.\n\
-i, --ignore-garbage When decoding, ignore non-alphabet characters.\n\
\n\
"), stdout);
- fputs (_("\
- --help Display this help and exit.\n\
- --version Output version information and exit.\n"), stdout);
+ fputs (HELP_OPTION_DESCRIPTION, stdout);
+ fputs (VERSION_OPTION_DESCRIPTION, stdout);
fputs (_("\
\n\
With no FILE, or when FILE is -, read standard input.\n"), stdout);
--
1.6.6.rc0.61.g41d5b
- [PATCH] base64: use the HELP and VERSION macros instead of the hard coded text.,
Thiago Farina <=