aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-24 09:32:13 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-24 09:32:13 +1000
commitba177b48d53f7c7e8d5c556415e8864b686724f2 (patch)
tree984f2ca2e0ffc2b867b847d3453a540c75ee2788 /function.c
parent29c488c6dc4344015a6711efdd9a618813a82249 (diff)
Do not show function body as description in output of the functions builtin
darcs-hash:20060123233213-ac50b-6887d4a2a9536e0697ab5ed0b1277dc645018cb9.gz
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 84d21bc1..c18da3b8 100644
--- a/function.c
+++ b/function.c
@@ -136,7 +136,7 @@ const wchar_t *function_get_desc( const wchar_t *argv )
if( data == 0 )
return 0;
- return data->desc?data->desc:data->cmd;
+ return data->desc;
}
void function_set_desc( const wchar_t *name, const wchar_t *desc )