Skip to content

Commit

Permalink
Don't make complete builtin complain when used in non-interactive mod…
Browse files Browse the repository at this point in the history
…e, as we can always launch a debug prompt. Who are we to question why?

darcs-hash:20090222162253-ac50b-bb3c9dc1d1fa33548a2ed7b3c7c4d21d527eba47.gz
  • Loading branch information
liljencrantz committed Feb 22, 2009
1 parent 8102621 commit 47ae2a0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builtin_complete.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ static int builtin_complete( wchar_t **argv )

static int recursion_level=0;

if( !is_interactive_session )
{
debug( 1, _(L"%ls: Command only available in interactive sessions"), argv[0] );
}

al_init( &cmd );
al_init( &path );
sb_init( &short_opt );
Expand Down

0 comments on commit 47ae2a0

Please sign in to comment.