summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-11 09:45:45 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-11 09:45:45 +0200
commitef752c1638f5a403a135097924e5075c61b35a42 (patch)
tree391d1cd69875da07acce9ce886bb189e688a4474
parentc5d2ae46a93c81b476a721f2df93042648bf317f (diff)
Drop --id option
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xfb.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/fb.py b/fb.py
index b5b2f6d..d3e1f4a 100755
--- a/fb.py
+++ b/fb.py
@@ -441,8 +441,6 @@ class FBClient:
help="Enable debug output")
upload_options = parser.add_argument_group('upload options')
- upload_options.add_argument("-i", "--id", default=False, action="store_true",
- help="Interpret arguments as IDs")
upload_options.add_argument("-t", "--tar", default=False, action="store_true",
help="Upload a tar file containing all files (and directories)")
upload_options.add_argument("-m", "--multipaste", default=False, action="store_true",
@@ -615,10 +613,6 @@ class FBClient:
self.upload_files([File(tempfile)])
return
else:
- if self.args.id:
- ids = [self.extractId(arg) for arg in self.args.args]
- return self.multipaste(ids)
-
files = [self.containerize_arg(arg) for arg in self.args.args]
self.upload_files(files)
return