Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 0d72b56

Browse files
committed
Minor change to the output of the help section to include more examples by default.
1 parent 697c93a commit 0d72b56

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ There is a [dedicated project page][dpg] for the [Diceware Password Generator][d
1717
- The [licensing][licensing] of the software.
1818
- [Credits to the people][credits] who made this possible.
1919
- Interesting [links about Diceware][links].
20+
- [Release Notes][release].
2021

2122
You can also [download the latest release][download] if you'd like to start getting your hands dirty :stuck_out_tongue_winking_eye:.
2223

@@ -27,11 +28,12 @@ You can also [download the latest release][download] if you'd like to start gett
2728
[diceware]: http://www.diceware.com/
2829
[eff]: http://www.eff.org
2930
[dpg]: https://justin.hartman.me/projects/diceware-password-generator.html
30-
[download]: https://github.com/justinhartman/diceware-password-generator/archive/master.zip
31+
[download]: https://github.com/justinhartman/diceware-password-generator/releases
3132
[install]: https://justin.hartman.me/projects/diceware-password-generator.html#installation
3233
[wordlist]: https://justin.hartman.me/projects/diceware-password-generator.html#clone-repo-and-download-the-word-lists
3334
[use]: https://justin.hartman.me/projects/diceware-password-generator.html#usage
3435
[examples]: https://justin.hartman.me/projects/diceware-password-generator.html#usage-examples
3536
[licensing]: https://justin.hartman.me/projects/diceware-password-generator.html#license
3637
[credits]: https://justin.hartman.me/projects/diceware-password-generator.html#credits
3738
[links]: https://justin.hartman.me/projects/diceware-password-generator.html#links
39+
[release]: https://justin.hartman.me/projects/diceware-password-generator-release-notes.html

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Release Notes
22
This is a dedicated page which documents the changes made to the [Diceware Password Generator][diceware] as well as all the release notes for the software.
33

4+
## v1.0.3
5+
Release Date: 21 March 2018
6+
7+
- Minor change to the output of the help section to include more examples by default.
8+
49
## v1.0.2
510
Release Date: 19 March 2018
611

passphrase

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def main(argv):
2525
sys.exit(2)
2626
for opt, arg in opts:
2727
if opt in ('-h', '--help'):
28-
print '# Version: diceware-password-generator 1.0.2'
29-
print '# Release Date: 19 March 2018'
28+
print '# Version: diceware-password-generator 1.0.3'
29+
print '# Release Date: 21 March 2018'
3030
print '# Project: https://justin.hartman.me/projects/diceware-password-generator.html'
3131
print '#'
3232
print '# The author disclaims copyright to this source code. In place of'
@@ -47,7 +47,11 @@ def main(argv):
4747
print '-n, --number Input an integer for the number of words'
4848
print ' you want generated for your passphrase.'
4949
print ''
50+
print 'Example: $ ./passphrase'
51+
print 'Example: $ ./passphrase --words'
52+
print 'Example: $ ./passphrase -w'
5053
print 'Example: $ ./passphrase --words -n 4'
54+
print 'Example: $ ./passphrase -w -n 4'
5155
sys.exit(2)
5256
elif opt in ("-w", "--words"):
5357
p = words

0 commit comments

Comments
 (0)