2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-02 09:40:27 +00:00
This commit is contained in:
kevin zhuang 2020-04-06 15:49:40 +10:00
parent feeff95486
commit 85f7422553
2 changed files with 16 additions and 16 deletions

View File

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

View File

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