blob: b24546e413065184616059c9c4de5cec924350a4 [file] [log] [blame]
Manuel Novoa III cad53642003-03-19 09:13:01 +00001/* vi: set sw=4 ts=4: */
2/*
Eric Andersenaff114c2004-04-14 17:51:38 +00003 * warn_ignoring_args implementation for busybox
Manuel Novoa III cad53642003-03-19 09:13:01 +00004 *
5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
6 *
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02007 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
Manuel Novoa III cad53642003-03-19 09:13:01 +00008 */
Denis Vlasenkod398eca2006-11-24 15:38:03 +00009#include "libbb.h"
Manuel Novoa III cad53642003-03-19 09:13:01 +000010
Denys Vlasenkoa355da02010-01-04 13:16:08 +010011#if ENABLE_DESKTOP
12void FAST_FUNC bb_warn_ignoring_args(char *arg)
Manuel Novoa III cad53642003-03-19 09:13:01 +000013{
Denys Vlasenkoa355da02010-01-04 13:16:08 +010014 if (arg) {
James Byrne69374872019-07-02 11:35:03 +020015 bb_simple_error_msg("ignoring all arguments");
Manuel Novoa III cad53642003-03-19 09:13:01 +000016 }
17}
Denys Vlasenkoa355da02010-01-04 13:16:08 +010018#endif