mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Print only basename of the script when unknown action given
This commit is contained in:
committed by
Marcin Kulik
parent
45c7390718
commit
2c4217fc10
@@ -31,7 +31,7 @@ class CLI:
|
||||
self.version()
|
||||
else:
|
||||
print('Unknown action: %s' % action)
|
||||
print('Run "%s --help" for list of available options' % sys.argv[0])
|
||||
print('Run "%s --help" for list of available options' % SCRIPT_NAME)
|
||||
|
||||
def record(self):
|
||||
if not AsciiCast(self.config, self.options).create():
|
||||
|
||||
Reference in New Issue
Block a user