mirror of
https://github.com/samsonjs/mojo.el.git
synced 2026-04-27 15:07:42 +00:00
mojo-hard-reset requires the name of the image to reset
This commit is contained in:
parent
f2c9c31bc4
commit
d6fd69c28a
1 changed files with 5 additions and 3 deletions
|
|
@ -203,10 +203,12 @@ NAME is the name of the scene."
|
||||||
(mojo-cmd "palm-emulator" (list "--list")))
|
(mojo-cmd "palm-emulator" (list "--list")))
|
||||||
|
|
||||||
;;* interactive
|
;;* interactive
|
||||||
(defun mojo-hard-reset ()
|
(defun mojo-hard-reset (image)
|
||||||
"Perform a hard reset, clearing all data."
|
"Perform a hard reset, clearing all data."
|
||||||
(interactive)
|
(interactive "sImage name: \n")
|
||||||
(mojo-cmd "palm-emulator" (list "--reset")))
|
(if (string= "" image)
|
||||||
|
(error "Run mojo-list-emulator-images to see what images are available")
|
||||||
|
(mojo-cmd "palm-emulator" (list "--reset" image))))
|
||||||
|
|
||||||
(defun mojo-browse ()
|
(defun mojo-browse ()
|
||||||
"Use `browse-url' to visit your application with Palm Host."
|
"Use `browse-url' to visit your application with Palm Host."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue