diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-10-20 15:32:45 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-10-20 15:32:45 +0200 |
commit | 420438c71f2951b4ad1525de0d805fbf1cc9b15c (patch) | |
tree | 790bab914f9cd174d08916a99a474a9e8e24180f /src/lib | |
parent | a670ee5d72cc6c2492108edfe131f7547081748f (diff) | |
download | libnl-420438c71f2951b4ad1525de0d805fbf1cc9b15c.tar.gz |
Remove NL_DUMP_ENV code
Dumping objects as environment variables has never been implemented
completely and only increases the size of the library for no real
purpose. Integration into scripts is better achieved by implementing
a python module anyway.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/utils.c b/src/lib/utils.c index 9375bfce..ef76c847 100644 --- a/src/lib/utils.c +++ b/src/lib/utils.c @@ -125,8 +125,6 @@ int nl_cli_parse_dumptype(const char *str) return NL_DUMP_DETAILS; else if (!strcasecmp(str, "stats")) return NL_DUMP_STATS; - else if (!strcasecmp(str, "env")) - return NL_DUMP_ENV; else nl_cli_fatal(EINVAL, "Invalid dump type \"%s\".\n", str); |