diff options
Diffstat (limited to 'sutils')
-rw-r--r-- | sutils/swapon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sutils/swapon.c b/sutils/swapon.c index 03b17de8..2403f1c2 100644 --- a/sutils/swapon.c +++ b/sutils/swapon.c @@ -56,6 +56,7 @@ static struct argp_option options[] = "Require a Linux swap signature page"}, {"silent", 'q', 0, 0, "Print only diagnostic messages"}, {"quiet", 'q', 0, OPTION_ALIAS | OPTION_HIDDEN }, + {"verbose", 'v', 0, 0, "Be verbose"}, {0, 0} }; static char *args_doc = "DEVICE..."; @@ -490,6 +491,10 @@ main (int argc, char *argv[]) quiet = 1; break; + case 'v': + quiet = 0; + break; + case ARGP_KEY_ARG: #ifdef SWAPOFF #define ONOFF 0 |