diff --git a/applets/urban b/applets/urban index 9154f54b..4f853138 100755 --- a/applets/urban +++ b/applets/urban @@ -19,7 +19,7 @@ local $SIG{__WARN__} = sub { chomp $getopt_error; }; -my $usage = "Usage: udict [-m ] [-n ] [-s ] \n"; +my $usage = "Usage: udict [-a] [-m ] [-n ] [-s ] \n"; binmode(STDOUT, ":utf8"); binmode(STDERR, ":utf8"); @@ -71,12 +71,7 @@ sub sort_entries { } } -my @entries; -if (defined $sort) { - @entries = sort sort_entries @{ $results->definitions }; -} else { - @entries = @{ $results->definitions }; -} +my @entries = sort sort_entries @{ $results->definitions }; my $num_entries = @entries; if ($num_entries == 0) { diff --git a/doc/VirtualMachine.md b/doc/VirtualMachine.md index 75cb536d..95b5b645 100644 --- a/doc/VirtualMachine.md +++ b/doc/VirtualMachine.md @@ -134,7 +134,7 @@ https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Snap I recommend using OpenSUSE Tumbleweed since that's what I've tested on most recently. ## Create a new virtual machine -To create a new virtual machines, this guide offers two options. The first is +To create a new virtual machine, this guide offers two options. The first is libvirt's `virt-install` command. It greatly simplifies configuration by automatically creating networking bridges and setting up virtio devices. The second option is manually using Linux system commands to configure network