Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"myapp" could return "django-admin.py help" output #17

Open
dmr opened this issue Jan 20, 2015 · 1 comment
Open

"myapp" could return "django-admin.py help" output #17

dmr opened this issue Jan 20, 2015 · 1 comment

Comments

@dmr
Copy link
Contributor

dmr commented Jan 20, 2015

When I run

$ myapp

I see

usage: myapp [--config=/path/to/settings.py] [command] [options]

But when I run

$ django-admin.py

I see

Usage: django-admin subcommand [options] [args]

Options:
  -v VERBOSITY, --verbosity=VERBOSITY
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings=SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath=PYTHONPATH
....

--> How do you guys feel about putting a small logan-header on top of the help message and run the help command by default?

@dcramer
Copy link
Owner

dcramer commented Jan 20, 2015

@dmr I definitely think it'd be an improvement.

There's also the version command which returns the version of Django (super confusing), and really we should be returning a similar header in [command] help as we do in just [command].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants