diff --git a/note b/note index 11efd96..b10fc6f 100644 --- a/note +++ b/note @@ -38,6 +38,11 @@ exit 1 ;; +--cat) + cat $filename + exit 1 +;; + --location) echo "$filename"; exit 1 @@ -62,6 +67,7 @@ --less Show contents using "less" --vi Edit contents using "vi" --gedit Edit contents using "gedit" + --cat Print info using "cat". --location Show file location --help Show this help message --author Show the author @@ -75,8 +81,7 @@ You can create notes that are one line by directly typing it after note. note --setfile [leave empty or enter a command] - Will open note just as before, but using instead. -'; + Will open note just as before, but using instead.'; exit 1 ;;