mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Indentation and comments
darcs-hash:20070928213922-75c98-96ae445e28ad3273c98ddc4ca16597988eb66d37.gz
This commit is contained in:
parent
addb5a698d
commit
97b77d1b3a
1 changed files with 9 additions and 9 deletions
18
builtin.c
18
builtin.c
|
@ -2499,9 +2499,9 @@ static int builtin_exit( wchar_t **argv )
|
||||||
if( errno || *end != 0)
|
if( errno || *end != 0)
|
||||||
{
|
{
|
||||||
sb_printf( sb_err,
|
sb_printf( sb_err,
|
||||||
_( L"%ls: Argument '%ls' must be an integer\n" ),
|
_( L"%ls: Argument '%ls' must be an integer\n" ),
|
||||||
argv[0],
|
argv[0],
|
||||||
argv[1] );
|
argv[1] );
|
||||||
builtin_print_help( argv[0], sb_err );
|
builtin_print_help( argv[0], sb_err );
|
||||||
return STATUS_BUILTIN_ERROR;
|
return STATUS_BUILTIN_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -2511,8 +2511,8 @@ static int builtin_exit( wchar_t **argv )
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
sb_printf( sb_err,
|
sb_printf( sb_err,
|
||||||
BUILTIN_ERR_TOO_MANY_ARGUMENTS,
|
BUILTIN_ERR_TOO_MANY_ARGUMENTS,
|
||||||
argv[0] );
|
argv[0] );
|
||||||
|
|
||||||
builtin_print_help( argv[0], sb_err );
|
builtin_print_help( argv[0], sb_err );
|
||||||
return STATUS_BUILTIN_ERROR;
|
return STATUS_BUILTIN_ERROR;
|
||||||
|
@ -2524,7 +2524,8 @@ static int builtin_exit( wchar_t **argv )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Helper function for builtin_cd, used for seting the current working directory
|
Helper function for builtin_cd, used for seting the current working
|
||||||
|
directory
|
||||||
*/
|
*/
|
||||||
static int set_pwd( wchar_t *env)
|
static int set_pwd( wchar_t *env)
|
||||||
{
|
{
|
||||||
|
@ -2541,9 +2542,8 @@ static int set_pwd( wchar_t *env)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The cd builtin. Changes the current directory to the one specified
|
The cd builtin. Changes the current directory to the one specified
|
||||||
or to $HOME if none is specified. If '-' is the directory specified,
|
or to $HOME if none is specified. The directory can be relative to
|
||||||
the directory is changed to the previous working directory. The
|
any directory in the CDPATH variable.
|
||||||
directory can be relative to any directory in the CDPATH variable.
|
|
||||||
*/
|
*/
|
||||||
static int builtin_cd( wchar_t **argv )
|
static int builtin_cd( wchar_t **argv )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue