Skip to content

Commit

Permalink
ucc: Add command 'init'
Browse files Browse the repository at this point in the history
  • Loading branch information
uditkarode committed Nov 25, 2018
1 parent 12ca370 commit 03ed1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ucc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function show_help(){
echo
echo -e "${GREEN}-u/--update${NC} : Updates UCC if a new version is available."
echo
echo -e "${GREEN}-i/--init ${YELLOW} <folder-path>${NC} : Initiates a UCC workspace at the provided folder path. This does ${RED}NOT${NC} also automatically make it the workspace."
echo -e "${GREEN}-i/--init/init ${YELLOW} <folder-path>${NC} : Initiates a UCC workspace at the provided folder path. This does ${RED}NOT${NC} also automatically make it the workspace."
echo
exit
}
Expand Down Expand Up @@ -111,7 +111,7 @@ case "$#" in
fi
;;

"-i"|"--init")
"-i"|"--init"|"init")
echo -e "${YELLOW}INFO: This will initiate a UCC workspace in the current directory."
echo -e "${NC}Continue? (${GREEN}yes${NC}/${RED}no${NC})" ; read userconf

Expand Down

0 comments on commit 03ed1d3

Please sign in to comment.