Skip to content
Browse files

Changed to display help if invoked with no arguments.…

… Thanks, sopel

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent c62b427 commit cb222e4d4e5f3ebe4ba6773c8e39bc5702f4af57 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/bin/
2 django/bin/
@@ -77,7 +77,7 @@ def main():
action = args[0]
except IndexError:
- print_error("An action is required.", sys.argv[0])
+ parser.print_usage_and_exit()
if not ACTION_MAPPING.has_key(action):
print_error("Your action, %r, was invalid." % action, sys.argv[0])
if action in ('createsuperuser', 'init', 'validate'):

0 comments on commit cb222e4

Please sign in to comment.
Something went wrong with that request. Please try again.