Change order of script output
The order of parameters for `--script' and without it was different, to keep things simple these should be the same.
This commit is contained in:
parent
dfd6f71c4d
commit
933a51ed70
2 changed files with 4 additions and 4 deletions
|
@ -148,9 +148,9 @@ function clark_complete(input, pos, conservative)
|
|||
});
|
||||
|
||||
let c = { count: ret.length,
|
||||
get_string: function (i) ret[i][0],
|
||||
get_description: function (i) ret[i][1],
|
||||
get_input_state: function (i) [ret[i][2]] };
|
||||
get_string: function (i) ret[i][1],
|
||||
get_description: function (i) ret[i][2],
|
||||
get_input_state: function (i) [ret[i][0]] };
|
||||
yield co_return(c);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -194,7 +194,7 @@ BM should be a list containing the url, name and description of the
|
|||
bookmark."
|
||||
(destructuring-bind (url name description) bm
|
||||
(if *script*
|
||||
(format t "~A~A~A" name description url)
|
||||
(format t "~A~A~A" url name description)
|
||||
(format t "~A~% ~A~% ~A~%~%" url name description))))
|
||||
|
||||
(defcommand add (url name description &rest tags)
|
||||
|
|
Loading…
Reference in a new issue