­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ # help-workflow.sh # # help workflow for Relax-and-Recover # # This file is part of Relax-and-Recover, licensed under the GNU General # Public License. Refer to the included COPYING for full text of license. LOCKLESS_WORKFLOWS+=( help ) function WORKFLOW_help () { # Do nothing in simulation mode, cf. https://github.com/rear/rear/issues/1939 if is_true "$SIMULATE" ; then LogPrint "${BASH_SOURCE[0]} outputs usage information" return 0 fi # Output the help text to the original STDOUT but keep STDERR in the log file: cat 1>&7 <&7 # Output the text to the original STDOUT but keep STDERR in the log file: test "$VERBOSE" || echo "Use 'rear -v help' for more advanced commands." 1>&7 }