From 85f742255317a6e9a2479f0dd6915431eb227b6f Mon Sep 17 00:00:00 2001 From: kevin zhuang Date: Mon, 6 Apr 2020 15:49:40 +1000 Subject: [PATCH] fix echo --- scripts/fadd | 14 +++++++------- scripts/frm | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/fadd b/scripts/fadd index aac258f..1225eea 100755 --- a/scripts/fadd +++ b/scripts/fadd @@ -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) diff --git a/scripts/frm b/scripts/frm index 1bf6b37..79654fd 100755 --- a/scripts/frm +++ b/scripts/frm @@ -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 ;; *)