pull/3/head
kevin zhuang 4 years ago
parent feeff95486
commit 85f7422553

@ -31,13 +31,13 @@ do
break break
;; ;;
h) h)
echo "Usage: fca [-h] [-f] [-d] ...\n" echo -e "Usage: fca [-h] [-f] [-d] ...\n"
echo "Stage the selected file to the dotfile gitbare repo" echo -e "Stage the selected file to the dotfile gitbare repo"
echo "Press escape to stop staging file\n" echo -e "Press escape to stop staging file\n"
echo "optional arguments:" echo -e "optional arguments:"
echo " -h\t\tshow this help message and exit" echo -e " -h\t\tshow this help message and exit"
echo " -f\t\tselect a file in current directory and stage it" echo -e " -f\t\tselect a file in current directory and stage it"
echo " -d\t\tselect a entire folder to stage" echo -e " -d\t\tselect a entire folder to stage"
exit 0 exit 0
;; ;;
d) d)

@ -16,15 +16,15 @@ do
list_location="${OPTARG}" list_location="${OPTARG}"
;; ;;
h) h)
echo "Usage: fcr [-h] [-p PATH] ...\n" echo -e "Usage: fcr [-h] [-p PATH] ...\n"
echo "Untrack the selected files from git bare repo" echo -e "Untrack the selected files from git bare repo"
echo "Note: Although local files will be untracked without issue" echo -e "Note: Although local files will be untracked without issue"
echo "make sure to backup the untracked files in any other desktop" echo -e "make sure to backup the untracked files in any other desktop"
echo "because git will actually remove those files, after pulling the new changes" echo -e "because git will actually remove those files, after pulling the new changes"
echo "copy the backup back to their original location\n" echo -e "copy the backup back to their original location\n"
echo "optional arguments:" echo -e "optional arguments:"
echo " -h\t\tshow this help message and exit" echo -e " -h\t\tshow this help message and exit"
echo ' -p PATH\tspecify the path to list files, by default, files will be listed from $HOME' echo -e ' -p PATH\tspecify the path to list files, by default, files will be listed from $HOME'
exit 0 exit 0
;; ;;
*) *)

Loading…
Cancel
Save