diff --git a/bang.py b/bang.py index 19f8aa3..3945c9e 100755 --- a/bang.py +++ b/bang.py @@ -157,6 +157,8 @@ def main(): handle = default_handle if len(parts) == 1: queries.append(parts[0]) + else: + queries.append(output) if len(parts) == 2: queries.append(parts[1])