diff options
author | axel <axel@liljencrantz.se> | 2006-11-30 00:21:02 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-11-30 00:21:02 +1000 |
commit | 8619d17f432bed7003c1fad59a15928eafcfbdbd (patch) | |
tree | 83ba45330de914d1c4be3d3e96c1e3a0f9b7f585 /complete.c | |
parent | 8062eb351103eea2483f201ad2a0e2996d9a060d (diff) |
Minor documentation, indentation tweaks
darcs-hash:20061129142102-ac50b-0ae69ec0878a54092f16261b314b34ef4eeeb5ba.gz
Diffstat (limited to 'complete.c')
-rw-r--r-- | complete.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,7 +1,6 @@ -/** \file complete.c - Functions related to tab-completion. +/** \file complete.c Functions related to tab-completion. - These functions are used for storing and retrieving tab-completion data, as well as for performing tab-completion. +These functions are used for storing and retrieving tab-completion data, as well as for performing tab-completion. */ #include "config.h" @@ -389,7 +388,7 @@ static void clear_hash_entry( void *key, void *data ) Search for an exactly matching completion entry */ static complete_entry_t *complete_find_exact_entry( const wchar_t *cmd, - const int cmd_type ) + const int cmd_type ) { complete_entry_t *i; for( i=first_entry; i; i=i->next ) @@ -1409,8 +1408,8 @@ static void complete_cmd( const wchar_t *cmd, } if( expand_string( 0, - nxt_completion, - comp, + nxt_completion, + comp, ACCEPT_INCOMPLETE | DIRECTORIES_ONLY ) != EXPAND_ERROR ) { /* |