2009-11-28 19:48:53 +05:30
|
|
|
/* vi: set sw=4 ts=4: */
|
|
|
|
/*
|
|
|
|
* Utility routines.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Denys Vlasenko
|
|
|
|
*
|
2010-08-16 23:44:46 +05:30
|
|
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
2009-11-28 19:48:53 +05:30
|
|
|
*/
|
|
|
|
#include "libbb.h"
|
|
|
|
|
|
|
|
char* FAST_FUNC single_argv(char **argv)
|
|
|
|
{
|
|
|
|
if (!argv[1] || argv[2])
|
|
|
|
bb_show_usage();
|
|
|
|
return argv[1];
|
|
|
|
}
|