From: Karel Zak Date: Wed, 18 Apr 2012 10:52:13 +0000 (+0200) Subject: swapon: cleanup usage() X-Git-Tag: v2.22-rc1~521 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b0d5341553efc8495f769ef7d5d213db212bb51;p=thirdparty%2Futil-linux.git swapon: cleanup usage() Signed-off-by: Karel Zak --- diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index e7d0707e28..e9e9aa6bd5 100644 --- a/sys-utils/swapon.c +++ b/sys-utils/swapon.c @@ -78,51 +78,6 @@ static int fixpgsz; static int verbose; -static const struct option longswaponopts[] = { - /* swapon only */ - { "priority", required_argument, 0, 'p' }, - { "discard", 0, 0, 'd' }, - { "ifexists", 0, 0, 'e' }, - { "summary", 0, 0, 's' }, - { "fixpgsz", 0, 0, 'f' }, - /* also for swapoff */ - { "all", 0, 0, 'a' }, - { "help", 0, 0, 'h' }, - { "verbose", 0, 0, 'v' }, - { "version", 0, 0, 'V' }, - { NULL, 0, 0, 0 } -}; - -#define PRINT_USAGE_SPECIAL(_fp) \ - fputs(_("\nThe parameter:\n" \ - " -L