|
|
@@ -54,42 +54,42 @@ static void printversion(void) {
|
|
|
}
|
|
|
|
|
|
static void usage(void) {
|
|
|
- if (fputs(_("\
|
|
|
-Command:\n\
|
|
|
- -b|--build <directory> [<deb>] build an archive.\n\
|
|
|
- -c|--contents <deb> list contents.\n\
|
|
|
- -I|--info <deb> [<cfile>...] show info to stdout.\n\
|
|
|
- -W|--show <deb> show information on package(s)\n\
|
|
|
- -f|--field <deb> [<cfield>...] show field(s) to stdout.\n\
|
|
|
- -e|--control <deb> [<directory>] extract control info.\n\
|
|
|
- -x|--extract <deb> <directory> extract files.\n\
|
|
|
- -X|--vextract <deb> <directory> extract & list files.\n\
|
|
|
- --fsys-tarfile <deb> output filesystem tarfile.\n\
|
|
|
- -h|--help display this message.\n\
|
|
|
- --version | --licence show version/licence.\n\
|
|
|
-\n\
|
|
|
-<deb> is the filename of a Debian format archive.\n\
|
|
|
-<cfile> is the name of an administrative file component.\n\
|
|
|
-<cfield> is the name of a field in the main `control' file.\n\
|
|
|
-\n\
|
|
|
-Options:\n\
|
|
|
- --showformat=<format> use alternative format for --show\n\
|
|
|
- -D enable debugging output\n\
|
|
|
- --old, --new select archive format\n\
|
|
|
- --nocheck suppress control file check (build bad package).\n\
|
|
|
- -z# to set the compression when building\n\
|
|
|
-\n\
|
|
|
-Format syntax:\n\
|
|
|
- A format is a string that will be output for each package. The format\n\
|
|
|
- can include the standard escape sequences \\n (newline), \\r (carriage\n\
|
|
|
- return) or \\\\ (plain backslash). Package information can be included\n\
|
|
|
- by inserting variable references to package fields using the ${var[;width]}\n\
|
|
|
- syntax. Fields will be right-aligned unless the width is negative in which\n\
|
|
|
- case left alignment will be used. \n\
|
|
|
-\n\
|
|
|
-Use `dpkg' to install and remove packages from your system, or\n\
|
|
|
-`dselect' for user-friendly package management. Packages unpacked\n\
|
|
|
-using `dpkg-deb --extract' will be incorrectly installed !\n"),
|
|
|
+ if (fputs(_(
|
|
|
+"Command:\n"
|
|
|
+" -b|--build <directory> [<deb>] build an archive.\n"
|
|
|
+" -c|--contents <deb> list contents.\n"
|
|
|
+" -I|--info <deb> [<cfile>...] show info to stdout.\n"
|
|
|
+" -W|--show <deb> show information on package(s)\n"
|
|
|
+" -f|--field <deb> [<cfield>...] show field(s) to stdout.\n"
|
|
|
+" -e|--control <deb> [<directory>] extract control info.\n"
|
|
|
+" -x|--extract <deb> <directory> extract files.\n"
|
|
|
+" -X|--vextract <deb> <directory> extract & list files.\n"
|
|
|
+" --fsys-tarfile <deb> output filesystem tarfile.\n"
|
|
|
+" -h|--help display this message.\n"
|
|
|
+" --version | --licence show version/licence.\n"
|
|
|
+"\n"
|
|
|
+"<deb> is the filename of a Debian format archive.\n"
|
|
|
+"<cfile> is the name of an administrative file component.\n"
|
|
|
+"<cfield> is the name of a field in the main `control' file.\n"
|
|
|
+"\n"
|
|
|
+"Options:\n"
|
|
|
+" --showformat=<format> use alternative format for --show\n"
|
|
|
+" -D enable debugging output\n"
|
|
|
+" --old, --new select archive format\n"
|
|
|
+" --nocheck suppress control file check (build bad package).\n"
|
|
|
+" -z# to set the compression when building\n"
|
|
|
+"\n"
|
|
|
+"Format syntax:\n"
|
|
|
+" A format is a string that will be output for each package. The format\n"
|
|
|
+" can include the standard escape sequences \\n (newline), \\r (carriage\n"
|
|
|
+" return) or \\\\ (plain backslash). Package information can be included\n"
|
|
|
+" by inserting variable references to package fields using the ${var[;width]}\n"
|
|
|
+" syntax. Fields will be right-aligned unless the width is negative in which\n"
|
|
|
+" case left alignment will be used. \n"
|
|
|
+"\n"
|
|
|
+"Use `dpkg' to install and remove packages from your system, or\n"
|
|
|
+"`dselect' for user-friendly package management. Packages unpacked\n"
|
|
|
+"using `dpkg-deb --extract' will be incorrectly installed !\n"),
|
|
|
stdout) < 0) werr("stdout");
|
|
|
}
|
|
|
|