diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-09-11 01:32:41 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-09-11 01:32:41 +0300 |
| commit | aa3dfa90cef7152a3b3e002fa98456d89de40eea (patch) | |
| tree | 4e2dfba656810faecbdf49ca9c8cb098b4efbe43 | |
| parent | 4aa09145c2cf4ff74b0b35f8a676bcc42fc23661 (diff) | |
| download | gemini-aaoth.xyz-aa3dfa90cef7152a3b3e002fa98456d89de40eea.tar.gz gemini-aaoth.xyz-aa3dfa90cef7152a3b3e002fa98456d89de40eea.zip | |
refactor gemlog-new script
| -rwxr-xr-x | gemlog-new | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -20,15 +20,15 @@ usage() { echo "add new post to gemlog" echo echo "this script is using gemini subscription specification and also \ - utilizes gemlikes utility for likes and comments" +utilizes gemlikes utility for likes and comments" echo echo "usage:" echo " $0 [OPTIONS]" echo echo "options:" - echo " -t, --title <title>" + echo " -T, --title <title>" echo " specify new post title" - echo " -g, --tags <tags>" + echo " -t, --tags <tags>" echo " specify new post tags (space separated, now they are just decorative)" echo " -h, --help" echo " print this help message" @@ -78,11 +78,11 @@ main() { while [ -n "$1" ] do case "$1" in - --title|-t) + --title|-T) shift _new_post_title="$1" ;; - --tags|-g) + --tags|-t) shift _new_post_tags="$1" ;; |
