Commit Graph

4 Commits (0ecbe0605dd38facba41a07431a4f5afbd8f985c)

Author SHA1 Message Date
nirenjan 0ecbe0605d Fix note script for title renaming
Also add a debug print statement for when NOTES_DEBUG is set.
2013-01-30 18:04:21 -08:00
nirenjan 17e9f45505 Fix title renaming for a new note 2013-01-24 19:27:39 -08:00
nirenjan e2f3a1a7bd Fix note issues
Fix the following issues in note
1.  Always use a combo of lowercase letters, hyphen, underscore and
    numbers for the file name. This is taken from the title and uses sed
    to translate the uppercase letters to lowercase. Unfortunately,
    sed's translation mode doesn't support ranges, so we must use the
    full alphabet.
2.  Add support for displaying version information.
3.  Reformat the help display so it all fits in a single line.
4.  Add checking to ensure that at least one argument is passed to note
    so that the parse_args routine doesn't barf an error with shift.
5.  Remove argument checking in notes_init. It's called only by the init
    function, so there's no need to add a flag to control warnings.
2013-01-23 22:20:06 -08:00
nirenjan a5321078e4 Add note script 2013-01-23 20:58:18 -08:00