mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
test-wrap-argv.pl: Accept short parameter -i for --in-place
I like to use it that way and every time I try running it I just instinctively use '-i' (like with sed, etc.) and it makes sense, IMHO. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
0918b84968
commit
ec337aee9b
@ -31,7 +31,7 @@
|
||||
$in_place = 0;
|
||||
$check = 0;
|
||||
|
||||
if (@ARGV[0] eq "--in-place") {
|
||||
if (@ARGV[0] eq "--in-place" or @ARGV[0] eq "-i") {
|
||||
$in_place = 1;
|
||||
shift @ARGV;
|
||||
} elsif (@ARGV[0] eq "--check") {
|
||||
|
Loading…
Reference in New Issue
Block a user