From ef752c1638f5a403a135097924e5075c61b35a42 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 11 Apr 2016 09:45:45 +0200 Subject: Drop --id option Signed-off-by: Florian Pritz --- fb.py | 6 ------ 1 file changed, 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 -- cgit v1.2.3-24-g4f1b