Commit 8376dd87 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: add share support

parent d3dff32e
......@@ -17,7 +17,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
docmd ssh $GEARHOST task help | sed -e "s|abort|cancel|g"
echo
echo "Examples:"
echo " share NNNN enable"
echo " share NNNN [enable]"
exit 0
fi
......@@ -87,6 +87,12 @@ if [ "$1" = "cancel" ] ; then
exit
fi
if [ "$1" = "share" ] && [ -n "$2" ] ; then
#shift
docmd ssh $GEARHOST task share "$2" enable
exit
fi
if [ "$1" = "task" ] ; then
# by default
......
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