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

print help messages when execute without command line options #6

Closed
Joungkyun opened this issue Apr 19, 2016 · 1 comment
Closed

print help messages when execute without command line options #6

Joungkyun opened this issue Apr 19, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@Joungkyun
Copy link
Owner

Joungkyun commented Apr 19, 2016

Expected result:

[root@host genpasswd]$ echo 'asdf' | ./genpasswd 
BAD PASSWORD: The password is shorter than 8 characters
[root@host genpasswd]$

Actual result:

[root@host genpasswd]$ echo 'asdf' | ./genpasswd
genpasswd 0.0.1 : generate password string
Usage: genpasswd [OPTION]
       -h, --help         this help messages
       -i, --stdin        given password with STDIN
       -m, --method=[md5|sha256|sha512] Crypt algorithm [default: sha512]
       -s, --salt=SALT    user define salt [default: random string]

[root@host genpasswd]$
@Joungkyun Joungkyun added this to the 1.0.0 milestone Apr 19, 2016
@Joungkyun Joungkyun added the bug label Apr 19, 2016
@Joungkyun Joungkyun self-assigned this Apr 19, 2016
@Joungkyun
Copy link
Owner Author

This bug is caused by #2 .

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

No branches or pull requests

1 participant