blob: 85137b40fe625556d6d1276941f36040e0906246 [file] [log] [blame]
Denys Vlasenkoe992bae2009-11-28 15:18:53 +01001/* vi: set sw=4 ts=4: */
2/*
3 * Utility routines.
4 *
5 * Copyright (C) 2009 Denys Vlasenko
6 *
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02007 * Licensed under GPLv2, see file LICENSE in this source tree.
Denys Vlasenkoe992bae2009-11-28 15:18:53 +01008 */
9#include "libbb.h"
10
11char* FAST_FUNC single_argv(char **argv)
12{
13 if (!argv[1] || argv[2])
14 bb_show_usage();
15 return argv[1];
16}