summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-10-06 15:40:59 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-10-06 15:40:59 -0400
commit4b35ffe5ae286f6062bd9cc31493d33625bff6d4 (patch)
treee13cc032f0ea93756084357a68c42febcc5e420a
parent137ebd86e47c90c05563ce106819f71ec09c2496 (diff)
Don't complete --allow-degraded for the stop verb in stc(1)
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--stc/stc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stc/stc.c b/stc/stc.c
index acc2aaa..803a17b 100644
--- a/stc/stc.c
+++ b/stc/stc.c
@@ -734,7 +734,7 @@ handle_command_start_stop (gint *argc,
g_print ("--id \n");
}
- if (request_completion &&
+ if (request_completion && is_start &&
(!opt_start_allow_degraded && !complete_ids))
{
g_print ("--allow-degraded \n");