Commit 104d3e35 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: use log for task build log, improve help

parent e7acf0f5
...@@ -11,13 +11,18 @@ set_girar_host $1 && shift ...@@ -11,13 +11,18 @@ set_girar_host $1 && shift
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "gitask ssh gear.alt task wrapper" echo "gitask ssh gear.alt task wrapper"
echo "Use: gitask [GIRAR] [task|show|ls|quota]" echo "Use: gitask [GIRAR] [task|log|show|ls|quota]"
echo "$HELP_GIRAR" echo "$HELP_GIRAR"
echo " --help - help" echo " --help - help"
docmd ssh $GEARHOST task help | sed -e "s|abort|cancel|g" docmd ssh $GEARHOST task help | sed -e "s|abort|cancel|g"
echo echo
echo "Examples:" echo "Examples:"
echo " share NNNN [enable]" echo " new [p8] - create new task [on p8]"
echo " add del package - add package remove command"
echo " share NNNN [enable] - share task NNNN"
echo " log NNNN - show build log for task NNNN"
echo " show NNNN - show subtask list for task NNNN"
echo " cancel NNNN - cancel task NNNN"
exit 0 exit 0
fi fi
...@@ -54,7 +59,7 @@ if [ "$1" = "find" ] ; then ...@@ -54,7 +59,7 @@ if [ "$1" = "find" ] ; then
exit exit
fi fi
if [ "$1" = "show" ] ; then if [ "$1" = "log" ] ; then
shift shift
# TODO: show last task without args # TODO: show last task without args
showcmd "$GEARHOST>" girar-show "$@" showcmd "$GEARHOST>" girar-show "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment