aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2008-01-14 02:47:47 +1000
commit87db9517e928c9007c66ed5b23836db2dad2b693 (patch)
treeedfe373687a5afb9ba5360a456e3096d7bf2df85 /complete.h
parentab3502fc8b25469429af25a94306346af590428c (diff)
Add lots of new code comments.
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/complete.h b/complete.h
index 128db468..1109da7c 100644
--- a/complete.h
+++ b/complete.h
@@ -163,34 +163,34 @@ typedef struct
\param comp A space separated list of completions which may contain subshells.
\param desc A description of the completion.
\param condition a command to be run to check it this completion should be used. If \c condition is empty, the completion is always used.
-
+ \param flags A set of completion flags
*/
void complete_add( const wchar_t *cmd,
- int cmd_type,
- wchar_t short_opt,
- const wchar_t *long_opt,
- int long_mode,
- int result_mode,
- const wchar_t *condition,
- const wchar_t *comp,
- const wchar_t *desc,
- int flags );
+ int cmd_type,
+ wchar_t short_opt,
+ const wchar_t *long_opt,
+ int long_mode,
+ int result_mode,
+ const wchar_t *condition,
+ const wchar_t *comp,
+ const wchar_t *desc,
+ int flags );
/**
Sets whether the completion list for this command is complete. If
true, any options not matching one of the provided options will be
flagged as an error by syntax highlighting.
*/
void complete_set_authoritative( const wchar_t *cmd,
- int cmd_type,
- int authoritative );
+ int cmd_type,
+ int authoritative );
/**
Remove a previously defined completion
*/
void complete_remove( const wchar_t *cmd,
- int cmd_type,
- wchar_t short_opt,
- const wchar_t *long_opt );
+ int cmd_type,
+ wchar_t short_opt,
+ const wchar_t *long_opt );
/**
Find all completions of the command cmd, insert them into out. The
@@ -242,7 +242,7 @@ void complete_load( const wchar_t *cmd, int reload );
Create a new completion entry
\param context The halloc context to use for allocating new memory
- \pram comp The completion string
+ \param comp The completion string
\param desc The description of the completion
\param flags completion flags
*/