From bf7c483ae97d53eb330191ebf5991ba411530e85 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 29 Mar 2017 11:35:45 +0200 Subject: [PATCH] exec: Short option for --tty should be -t Probably just a copy/paste effect in action. runc abbreviates --tty with -t as well. Signed-off-by: Damien Lespiau --- src/commands/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/exec.c b/src/commands/exec.c index 2ea538f4..7dee1e15 100644 --- a/src/commands/exec.c +++ b/src/commands/exec.c @@ -117,7 +117,7 @@ static GOptionEntry options_exec[] = NULL }, { - "tty", '0' , G_OPTION_FLAG_NONE, + "tty", 't' , G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &start_data.allocate_tty, "allocate a pseudo-TTY for the new exec process", NULL