File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1137,7 +1137,7 @@ Optionally filter by FILTER and inherit SESSION."
1137
1137
1138
1138
(defun govc-datastore-ls-entries ()
1139
1139
" Wrapper for govc datastore.ls."
1140
- (let* ((data (govc-json " datastore.ls" " -l" " -p" govc-filter))
1140
+ (let* ((data (govc-json " datastore.ls" ( if current-prefix-arg " -a " ) " -l" " -p" govc-filter))
1141
1141
(file (plist-get (elt data 0 ) :file )))
1142
1142
(-map (lambda (ent )
1143
1143
(let ((name (plist-get ent :path ))
@@ -1164,7 +1164,7 @@ Optionally filter by FILTER and inherit SESSION."
1164
1164
(interactive )
1165
1165
(let ((id (tabulated-list-get-id )))
1166
1166
(if current-prefix-arg
1167
- (govc-shell-command (list " datastore.ls" " -l" " -p" " -R" id))
1167
+ (govc-shell-command (list " datastore.ls" ( if current-prefix-arg " -a " ) " -l" " -p" " -R" id))
1168
1168
(if (s-ends-with? " /" id)
1169
1169
(progn (setq govc-filter id)
1170
1170
(tabulated-list-revert ))
You can’t perform that action at this time.
0 commit comments