diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-11-25 03:23:38 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-11-25 03:23:38 +0100 |
| commit | 51d128b15c7e63a73729bb1934ed1047531e4a87 (patch) | |
| tree | af120f5d327c959d9b62084fef98d86d75140d90 /src/cerberus.c | |
| parent | start of info manual (diff) | |
| download | cerberus-51d128b15c7e63a73729bb1934ed1047531e4a87.tar.gz cerberus-51d128b15c7e63a73729bb1934ed1047531e4a87.tar.bz2 cerberus-51d128b15c7e63a73729bb1934ed1047531e4a87.tar.xz | |
exit if -V is used
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/cerberus.c')
| -rw-r--r-- | src/cerberus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cerberus.c b/src/cerberus.c index a7c9124..036a5fd 100644 --- a/src/cerberus.c +++ b/src/cerberus.c @@ -128,8 +128,10 @@ void do_login(int argc, char** argv) ; else if ((*arg == '-') && (double_dashed == 0)) while ((c = *(++arg))) - if ((c == 'V') || (c == 'H')) + if (c == 'H') ; + else if (c == 'V') + _exit(2); else if (c == 'p') preserve_env = 1; else if (c == 'h') |
