summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-10-20 15:32:45 +0200
committerThomas Graf <tgraf@suug.ch>2010-10-20 15:32:45 +0200
commit420438c71f2951b4ad1525de0d805fbf1cc9b15c (patch)
tree790bab914f9cd174d08916a99a474a9e8e24180f /src/lib
parenta670ee5d72cc6c2492108edfe131f7547081748f (diff)
downloadlibnl-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.c2
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);