commit 829dd918 added parsing of a -c argument to both the common options handling and to lxc-start. It is not a common option, and should have only been added to lxc-start. Because the common code is processing it, no other command can use -c. Remove -c from being processed by the common code. Tested that -c still works with lxc-start.
Signed-off-by: Dwight Engen <dwight.en...@oracle.com> --- src/lxc/arguments.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/arguments.c b/src/lxc/arguments.c index 90fbea3..7cea4e5 100644 --- a/src/lxc/arguments.c +++ b/src/lxc/arguments.c @@ -195,7 +195,6 @@ extern int lxc_arguments_parse(struct lxc_arguments *args, case 'n': args->name = optarg; break; case 'o': args->log_file = optarg; break; case 'l': args->log_priority = optarg; break; - case 'c': args->console = optarg; break; case 'q': args->quiet = 1; break; case 'P': ret = lxc_arguments_lxcpath_add(args, optarg); -- 1.8.1.4 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel