summaryrefslogtreecommitdiff
path: root/sfdisk.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-23 18:19:02 +0000
committerErik Andersen2000-01-23 18:19:02 +0000
commit5509af7073ffff75d86ff8c67a2075169a859efd (patch)
tree2728cbb296484026cb657f92f78e1bb0806ba6f4 /sfdisk.c
parent9bc7e89fc1eb493c06494ad86781ab49fc28c509 (diff)
downloadbusybox-5509af7073ffff75d86ff8c67a2075169a859efd.zip
busybox-5509af7073ffff75d86ff8c67a2075169a859efd.tar.gz
* added (and documented) "-n" option for head -
contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik
Diffstat (limited to 'sfdisk.c')
-rw-r--r--sfdisk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfdisk.c b/sfdisk.c
index 5b67e69..5dc44ea 100644
--- a/sfdisk.c
+++ b/sfdisk.c
@@ -55,7 +55,7 @@
static const char sfdisk_usage[] =
-"Usage: sfdisk [options] device ...\n"
+"sfdisk [options] device ...\n"
"device: something like /dev/hda or /dev/sda\n"
"useful options:\n"
" -s [or --show-size]: list size of a partition\n"
@@ -2345,7 +2345,7 @@ sfdisk_main(int argc, char **argv) {
char *unhidearg = 0;
if (argc < 1)
- usage( sfdisk_usage);
+ usage(sfdisk_usage);
while ((c = getopt_long (argc, argv, short_opts, long_opts, NULL)) != -1) {
switch (c) {
@@ -2407,7 +2407,7 @@ sfdisk_main(int argc, char **argv) {
verify = 1; break;
case '?':
default:
- usage( sfdisk_usage);
+ usage(sfdisk_usage);
/* undocumented flags */
case 128:
@@ -2461,7 +2461,7 @@ sfdisk_main(int argc, char **argv) {
exit(exit_status);
}
- if (optind == argc) usage( sfdisk_usage);
+ if (optind == argc) usage(sfdisk_usage);
if (opt_list || opt_out_geom || opt_size || verify) {
while (optind < argc) {