Print usage when called without options
This commit is contained in:
parent
e769a88532
commit
68a3d73368
|
@ -438,7 +438,10 @@ def main():
|
|||
parser_compile.set_defaults(func=tex_compile)
|
||||
|
||||
args = parser.parse_args()
|
||||
if hasattr(args, 'func'):
|
||||
args.func(args)
|
||||
else:
|
||||
parser.print_usage()
|
||||
|
||||
|
||||
class Outline:
|
||||
|
|
Loading…
Reference in New Issue