Skip to content

Commit

Permalink
Wrong commands listed in cms::parse_image
Browse files Browse the repository at this point in the history
  • Loading branch information
churchers committed Jul 30, 2018
1 parent 73e50e3 commit 826b2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/vm-cmd
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ cmd::parse_image(){
[ -z "${VM_ZFS}" ] && util::err "\$vm_dir must be a ZFS datastore to use these functions"

# try to find a matching command
cmd::find "_cmd" "$1" "create,list,destroy,add,remove,vlan,nat,address,private,info"
cmd::find "_cmd" "$1" "list,create,provision,destroy"
[ $? -ne 0 ] && util::usage

# remove parsed command
Expand Down
4 changes: 2 additions & 2 deletions vm
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

VERSION=1.2
VERSION_INT=102070
VERSION=1.2-p3
VERSION_INT=102071
VERSION_BSD=$(uname -K)
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

Expand Down

0 comments on commit 826b2fa

Please sign in to comment.