diff options
| author | Franklin Wei <git@fwei.tk> | 2015-05-24 20:43:27 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2015-05-24 20:43:27 -0400 |
| commit | 5b23089915079c634d260aa01d8eff1dd025fa31 (patch) | |
| tree | b5a37481fc0170712ffb55c280d13ff738c0a4dc /src/help.c | |
| parent | b307e719416e39ed525a1c51d7df61ae55b35eec (diff) | |
| download | market-sim-5b23089915079c634d260aa01d8eff1dd025fa31.zip market-sim-5b23089915079c634d260aa01d8eff1dd025fa31.tar.gz market-sim-5b23089915079c634d260aa01d8eff1dd025fa31.tar.bz2 market-sim-5b23089915079c634d260aa01d8eff1dd025fa31.tar.xz | |
enable restricted mode
Diffstat (limited to 'src/help.c')
| -rw-r--r-- | src/help.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,11 +5,13 @@ void print_usage(int argc, char *argv[]) assert(argc > 1); output("Usage: %s [OPTION] [PORTFOLIO]\n", argv[0]); - output("Runs a simulated trading session with PORTFOLIO (creating a new one by default).\n\n"); + output("Runs a interactive trading session with PORTFOLIO or create a new portfolio.\n\n"); output("Options:\n"); + output(" --batch\tEnables batch operation, taking commands from standard input\n"); output(" -h, --help\tShow this help and exit\n"); output(" --nocurses\tOperate without curses\n"); + output(" -r, --restrict\tOperate in restricted mode, suitable for use as a CGI program\n"); output(" -v, --verbose\tEnable verbose operation\n"); output(" --version\tOutput version information and exit\n"); } |