Commits

Mikhail Korobov  committed 71988ab

show help by default

  • Participants
  • Parent commits b085486

Comments (0)

Files changed (1)

File opencorpora/cli.py

 parser_download.set_defaults(func=download)
 
 def main():
+    if len(sys.argv) == 1:
+        sys.argv.append('--help')
     args = parser.parse_args()
     return args.func(args)