Make `side` argument non-optional

Closes #1294
This commit is contained in:
Foo 2015-05-10 17:44:38 +03:00
parent dc3eb6f3d8
commit cf76231b16
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def get_argparser(ArgumentParser=argparse.ArgumentParser):
'(usually `shell\' or `tmux\').'
)
parser.add_argument(
'side', nargs='?', choices=('left', 'right', 'above', 'aboveleft'),
'side', nargs=1, choices=('left', 'right', 'above', 'aboveleft'),
help='Side: `left\' and `right\' represent left and right side '
'respectively, `above\' emits lines that are supposed to be printed '
'just above the prompt and `aboveleft\' is like concatenating '