diff options
author | Sami Kerola | 2014-09-28 21:51:41 +0200 |
---|---|---|
committer | Karel Zak | 2014-10-01 12:33:26 +0200 |
commit | db433bf737a5fd4e1c7cca5e3603934743eebd1c (patch) | |
tree | de811b6d372bf7cba52535d2d1de770541499b34 /misc-utils/wipefs.c | |
parent | textual: use manual tail usage() macro (diff) | |
download | kernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.tar.gz kernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.tar.xz kernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.zip |
textual: use usage() text element macros
Translating these text elements should happen only once, which is
more likely when the text macros are used properly.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r-- | misc-utils/wipefs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 0671bb4d0..70c3f238b 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -448,11 +448,10 @@ do_wipe(struct wipe_desc *wp, const char *devname, int flags) static void __attribute__((__noreturn__)) usage(FILE *out) { - fputs(_("\nUsage:\n"), out); + fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] <device>\n"), program_invocation_short_name); - - fputs(_("\nOptions:\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -a, --all wipe all magic strings (BE CAREFUL!)\n" " -b, --backup create a signature backup in $HOME\n" " -f, --force force erasure\n" |