mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
tools: ratbagctl.devel: honor --help too
Now that ratbagctl properly shows the help, the devel version should too. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
committed by
Peter Hutterer
parent
b2d29a0285
commit
fc50e38ae2
@@ -49,7 +49,10 @@ def main(argv):
|
||||
|
||||
try:
|
||||
cmd = parser.parse(argv)
|
||||
cmd.func(ratbagd, cmd)
|
||||
if cmd.help:
|
||||
parser.print_help()
|
||||
else:
|
||||
cmd.func(ratbagd, cmd)
|
||||
finally:
|
||||
try:
|
||||
if cmd.keepalive:
|
||||
|
||||
Reference in New Issue
Block a user