diff options
author | Steve Bennett <steveb@workware.net.au> | 2009-07-27 16:52:24 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 10:11:01 +1000 |
commit | 3f202397e643b99bb267f76d2eb9959574faf411 (patch) | |
tree | 53007113bd18415791dc19cf6c29c27c2a845a8b /jim-subcmd.c | |
parent | 2d93bc0652eab1ad2c1b88b7100856adcf3881ad (diff) | |
download | jimtcl-3f202397e643b99bb267f76d2eb9959574faf411.zip jimtcl-3f202397e643b99bb267f76d2eb9959574faf411.tar.gz jimtcl-3f202397e643b99bb267f76d2eb9959574faf411.tar.bz2 |
Make static extensions build
Also clean up some white space
Diffstat (limited to 'jim-subcmd.c')
-rw-r--r-- | jim-subcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-subcmd.c b/jim-subcmd.c index 7c2ce03..044c8c9 100644 --- a/jim-subcmd.c +++ b/jim-subcmd.c @@ -149,7 +149,7 @@ Jim_ParseSubCmd(Jim_Interp *interp, const jim_subcmd_type *command_table, int ar } if (help) { - Jim_SetResult(interp, Jim_NewEmptyStringObj(interp)); + Jim_SetResultString(interp, "Usage: ", -1); add_subcmd_usage(interp, ct, argc, argv); if (ct->description) { Jim_AppendStrings(interp, Jim_GetResult(interp), "\n\n", ct->description, 0); |