mirror of
https://github.com/gaschz/qubes-pass.git
synced 2025-03-01 14:22:31 +01:00
Fix qrcode and clip arguments.
This commit is contained in:
parent
1719b1931c
commit
ee9d2a8994
@ -331,11 +331,11 @@ arguments = sys.argv[1:]
|
|||||||
if not "--help" in arguments and not "-h" in arguments and not "-?" in arguments:
|
if not "--help" in arguments and not "-h" in arguments and not "-?" in arguments:
|
||||||
global_opts, args = parser_for_discrimination.parse_known_args(arguments)
|
global_opts, args = parser_for_discrimination.parse_known_args(arguments)
|
||||||
if len(global_opts.arguments) == 0:
|
if len(global_opts.arguments) == 0:
|
||||||
global_opts.arguments = ["ls"] + global_opts.arguments
|
global_opts.arguments = ["ls"] + global_opts.arguments + args
|
||||||
elif (
|
elif (
|
||||||
len(global_opts.arguments) == 1 and global_opts.arguments[0] not in subcommands
|
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:
|
else:
|
||||||
parser_for_subcommands.parse_known_args(arguments)
|
parser_for_subcommands.parse_known_args(arguments)
|
||||||
arguments = global_opts.arguments
|
arguments = global_opts.arguments
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
%define mybuildnumber %{?build_number}%{?!build_number:1}
|
%define mybuildnumber %{?build_number}%{?!build_number:1}
|
||||||
|
|
||||||
Name: qubes-pass
|
Name: qubes-pass
|
||||||
Version: 0.0.29
|
Version: 0.0.30
|
||||||
Release: %{mybuildnumber}%{?dist}
|
Release: %{mybuildnumber}%{?dist}
|
||||||
Summary: Inter-VM pass password management for Qubes OS AppVMs and StandaloneVMs
|
Summary: Inter-VM pass password management for Qubes OS AppVMs and StandaloneVMs
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user