summaryrefslogtreecommitdiff
path: root/dpkg-split
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-05-02 09:27:37 +0000
committerGuillem Jover <guillem@debian.org>2006-05-02 09:27:37 +0000
commit8dabb3837ffc2f480ca59213cdf10db8bd66c026 (patch)
tree89d93525622627c35ed3b2830b1fc6faf278870b /dpkg-split
parentf74e1ba6f16da3890292fd9c0698b89da73074dd (diff)
downloaddpkg-8dabb3837ffc2f480ca59213cdf10db8bd66c026.tar.gz
Split usage strings to make it easier for translators when those change.
Closes: #323957
Diffstat (limited to 'dpkg-split')
-rw-r--r--dpkg-split/main.c42
1 files changed, 24 insertions, 18 deletions
diff --git a/dpkg-split/main.c b/dpkg-split/main.c
index 04d5bd34a..c8f6710f0 100644
--- a/dpkg-split/main.c
+++ b/dpkg-split/main.c
@@ -47,28 +47,34 @@ static void printversion(void) {
static void usage(void) {
if (printf(_(
"Usage: %s [<option> ...] <command>\n"
-"\n"
+"\n"), SPLITTER) < 0) werr("stdout");
+
+ if (printf(_(
"Commands:\n"
-" -s|--split <file> [<prefix>] Split an archive.\n"
-" -j|--join <part> <part> ... Join parts together.\n"
-" -I|--info <part> ... Display info about a part.\n"
-" -h|--help Show this help message.\n"
-" --version Show the version.\n"
-" --license Show the license.\n"
-"\n"
-" -a|--auto -o <complete> <part> Auto-accumulate parts.\n"
-" -l|--listq List unmatched pieces.\n"
-" -d|--discard [<filename> ...] Discard unmatched pieces.\n"
-"\n"
+" -s|--split <file> [<prefix>] Split an archive.\n"
+" -j|--join <part> <part> ... Join parts together.\n"
+" -I|--info <part> ... Display info about a part.\n"
+" -a|--auto -o <complete> <part> Auto-accumulate parts.\n"
+" -l|--listq List unmatched pieces.\n"
+" -d|--discard [<filename> ...] Discard unmatched pieces.\n"
+"\n")) < 0) werr("stdout");
+
+ if (printf(_(
+" -h|--help Show this help message.\n"
+" --version Show the version.\n"
+" --license|--licence Show the copyright licensing terms.\n"
+"\n")) < 0) werr("stdout");
+
+ if (printf(_(
"Options:\n"
-" --depotdir <directory> Use <directory> instead of %s/%s.\n"
-" -S|--partsize <size> In KiB, for -s (default is 450).\n"
-" -o|--output <file> For -j (default is <package>-<version>.deb).\n"
-" -Q|--npquiet Be quiet when -a is not a part.\n"
-" --msdos Generate 8.3 filenames.\n"
+" --depotdir <directory> Use <directory> instead of %s/%s.\n"
+" -S|--partsize <size> In KiB, for -s (default is 450).\n"
+" -o|--output <file> For -j (default is <package>-<version>.deb).\n"
+" -Q|--npquiet Be quiet when -a is not a part.\n"
+" --msdos Generate 8.3 filenames.\n"
"\n"
"Exit status: 0 = OK; 1 = -a is not a part; 2 = trouble!\n"),
- SPLITTER, ADMINDIR, PARTSDIR) < 0) werr("stdout");
+ ADMINDIR, PARTSDIR) < 0) werr("stdout");
}
const char thisname[]= SPLITTER;