Skip to content
Kate Ward edited this page Aug 4, 2017 · 1 revision

How can I add newlines into the string of FLAGS_HELP (the custom usage description) variable? You can do so with a here document. E.g.,

FLAGS_HELP=$(cat <<EOFUSAGE: $0 [flags] commandcommands: backup: snapshot, and then take backups of the snapshots snapshot: take snapshots of all the filesystemsEOF)

Clone this wiki locally