Fix qrcode and clip arguments.

This commit is contained in:
Manuel Amador (Rudd-O) 2022-01-31 14:14:32 +00:00
parent 1719b1931c
commit ee9d2a8994
2 changed files with 3 additions and 3 deletions

View File

@ -331,11 +331,11 @@ arguments = sys.argv[1:]
if not "--help" in arguments and not "-h" in arguments and not "-?" in arguments:
global_opts, args = parser_for_discrimination.parse_known_args(arguments)
if len(global_opts.arguments) == 0:
global_opts.arguments = ["ls"] + global_opts.arguments
global_opts.arguments = ["ls"] + global_opts.arguments + args
elif (
len(global_opts.arguments) == 1 and global_opts.arguments[0] not in subcommands
):
global_opts.arguments = ["show"] + global_opts.arguments
global_opts.arguments = ["show"] + global_opts.arguments + args
else:
parser_for_subcommands.parse_known_args(arguments)
arguments = global_opts.arguments

View File

@ -3,7 +3,7 @@
%define mybuildnumber %{?build_number}%{?!build_number:1}
Name: qubes-pass
Version: 0.0.29
Version: 0.0.30
Release: %{mybuildnumber}%{?dist}
Summary: Inter-VM pass password management for Qubes OS AppVMs and StandaloneVMs
BuildArch: noarch