Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/daemon.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2030 by niro, Mon Aug 13 11:42:52 2012 UTC revision 2073 by niro, Fri May 10 09:09:36 2013 UTC
# Line 105  help_topics() Line 105  help_topics()
105   mecho "\tcolors   - enable colors"   mecho "\tcolors   - enable colors"
106   mecho "\tquiet    - do not print any unecessary messages"   mecho "\tquiet    - do not print any unecessary messages"
107   mecho "\thelp     - shows help"   mecho "\thelp     - shows help"
108     mecho "\tversion  - prints version of the daemon"
109   mecho "\tquit     - quits the connection to the server"   mecho "\tquit     - quits the connection to the server"
110   mecho   mecho
111   mecho "Help topics:"   mecho "Help topics:"
# Line 410  list_files_in_directory() Line 411  list_files_in_directory()
411   -mindepth) shift; opts+=" -mindepth $1" ;;   -mindepth) shift; opts+=" -mindepth $1" ;;
412   -maxdepth) shift; opts+=" -maxdepth $1" ;;   -maxdepth) shift; opts+=" -maxdepth $1" ;;
413   -type) shift; type="$1" ;;   -type) shift; type="$1" ;;
414     -name) shift; opts+="-name $1" ;;
415   '') continue ;;   '') continue ;;
416   *) path="$1" ;;   *) path="$1" ;;
417   esac   esac
# Line 443  list_files_in_directory() Line 445  list_files_in_directory()
445    
446   rvecho "${retval}"   rvecho "${retval}"
447  }  }
448    
449    print_version()
450    {
451     echo "mcored-$(<${MCLIBDIR}/VERSION)"
452    }
453    

Legend:
Removed from v.2030  
changed lines
  Added in v.2073