[core] Add '-d' as shorthand for '--debug'

see #606
This commit is contained in:
tobi-wan-kenobi 2020-04-30 12:52:09 +02:00
parent 1e4955d4b8
commit 88e56c4c47

View file

@ -24,7 +24,7 @@ class Config(util.store.Store):
help='Specify the name of an iconset to use (overrides theme default)') help='Specify the name of an iconset to use (overrides theme default)')
parser.add_argument('-a', '--autohide', nargs='+', default=[], parser.add_argument('-a', '--autohide', nargs='+', default=[],
help='Specify a list of modules to hide when not in warning/error state') help='Specify a list of modules to hide when not in warning/error state')
parser.add_argument('--debug', action='store_true', parser.add_argument('-d', '--debug', action='store_true',
help='Add debug fields to i3 output') help='Add debug fields to i3 output')
self.__args = parser.parse_args(args) self.__args = parser.parse_args(args)