diff options
author | Eric Andersen | 1999-11-10 23:13:02 +0000 |
---|---|---|
committer | Eric Andersen | 1999-11-10 23:13:02 +0000 |
commit | d73dc5b07390fb90e7f605871c993a28eedf1d46 (patch) | |
tree | 3e448e6550da52d2709e5f52fbae56e9df9462cc /umount.c | |
parent | 84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff) | |
download | busybox-d73dc5b07390fb90e7f605871c993a28eedf1d46.zip busybox-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.gz |
Updates to usage, and made tar work.
-Erik
Diffstat (limited to 'umount.c')
-rw-r--r-- | umount.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,8 +29,8 @@ #include <errno.h> static const char umount_usage[] = -"Usage: umount [flags] filesystem|directory\n" -"Optional Flags:\n" +"Usage: umount [flags] filesystem|directory\n\n" +"Flags:\n" "\t-a:\tUnmount all file systems" #ifdef BB_MTAB " in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries\n" @@ -108,7 +108,7 @@ umount_main(int argc, char** argv) } /* Parse any options */ - while (argc-- > 0 && **(argv++) == '-') { + while (--argc > 0 && **(++argv) == '-') { while (*++(*argv)) switch (**argv) { case 'a': umountAll = TRUE; |