From 1feb3b0dcc679d3d7cc7c35144ce5b8177e2db0a Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Mon, 3 Jun 2013 03:30:30 +0200 Subject: [PATCH] help() --- atom | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/atom b/atom index 31775ae..a89f4ba 100755 --- a/atom +++ b/atom @@ -56,6 +56,20 @@ do source "$function" done +help() { + cat <<-EOF + Options: + -c Load configuration file + -C Dump configuration and exit + -l Override max-load + -T override load-interval + -F Force re-generation of all files in + + -h Show this text + -D Increase debug + EOF +} + #parse arguments OPTERR=0 while getopts ':c:Cl:T:F:hD' opt