summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envstore6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/envstore b/bin/envstore
index 20c0b1a..3e3b0f4 100755
--- a/bin/envstore
+++ b/bin/envstore
@@ -64,12 +64,8 @@ if command == "show":
print k + "\t\t" + v
print "%i entries" % len(store)
elif command == "eval":
- opts, args = getopt.getopt(sys.argv[2:], '-e')
- opt_export = (('-e', '') in opts)
for k, v in store.iteritems():
- if opt_export:
- print "export",
- print k + "=" + v
+ print "export " + k + "=" + v
elif command == "save":
key = get_key()