all repos — gemini-aaoth.xyz @ aa3dfa90cef7152a3b3e002fa98456d89de40eea

aaoth.xyz gemini capsule (archive)

refactor gemlog-new script
la-ninpre leobrekalini@gmail.com
Sat, 11 Sep 2021 01:32:41 +0300
commit

aa3dfa90cef7152a3b3e002fa98456d89de40eea

parent

4aa09145c2cf4ff74b0b35f8a676bcc42fc23661

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M gemlog-newgemlog-new

@@ -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 @@ then

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" ;;