parent
ed9025697c
commit
17803603e8
@ -1 +1 @@
|
|||||||
9df055a73d89ed3d536828d0cea304c9e04139d4 SOURCES/cifs-utils-7.0.tar.bz2
|
5011edbd27bcb230aa5eef37296e588e390c058f SOURCES/cifs-utils-7.1.tar.bz2
|
||||||
|
@ -1 +1 @@
|
|||||||
SOURCES/cifs-utils-7.0.tar.bz2
|
SOURCES/cifs-utils-7.1.tar.bz2
|
||||||
|
@ -0,0 +1,47 @@
|
|||||||
|
From d69d2129c6476afbcbbe8dc6e2ed17f233084d85 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= <pfilipensky@samba.org>
|
||||||
|
Date: Mon, 7 Oct 2024 21:48:31 +0200
|
||||||
|
Subject: [PATCH] smbinfo: add bash completion support for filestreaminfo,
|
||||||
|
keys, gettconinfo
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
|
||||||
|
---
|
||||||
|
bash-completion/smbinfo | 9 ++++++---
|
||||||
|
1 file changed, 6 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/bash-completion/smbinfo b/bash-completion/smbinfo
|
||||||
|
index d56b581..ec0d8a4 100644
|
||||||
|
--- a/bash-completion/smbinfo
|
||||||
|
+++ b/bash-completion/smbinfo
|
||||||
|
@@ -15,19 +15,22 @@ smb_info()
|
||||||
|
filemodeinfo
|
||||||
|
filepositioninfo
|
||||||
|
filestandardinfo
|
||||||
|
+ filestreaminfo
|
||||||
|
fsctl-getobjid
|
||||||
|
getcompression
|
||||||
|
setcompression
|
||||||
|
list-snapshots
|
||||||
|
quota
|
||||||
|
- secdesc"
|
||||||
|
+ secdesc
|
||||||
|
+ keys
|
||||||
|
+ gettconinfo"
|
||||||
|
case $prev in
|
||||||
|
'-v'|'-h')
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
'fileaccessinfo'|'filealigninfo'|'fileallinfo'|'filebasicinfo'|'fileeainfo'|'filefsfullsizeinfo'|\
|
||||||
|
- 'fileinternalinfo'|'filemodeinfo'|'filepositioninfo'|'filestandardinfo'|'fsctl-getobjid'|\
|
||||||
|
- 'getcompression'|'setcompression'|'list-snapshots'|'quota'|'secdesc')
|
||||||
|
+ 'fileinternalinfo'|'filemodeinfo'|'filepositioninfo'|'filestandardinfo'|'filestreaminfo'|'fsctl-getobjid'|\
|
||||||
|
+ 'getcompression'|'setcompression'|'list-snapshots'|'quota'|'secdesc'|'keys'|'gettconinfo')
|
||||||
|
local IFS=$'\n'
|
||||||
|
compopt -o filenames
|
||||||
|
COMPREPLY=( $(compgen -f -o dirnames -- ${cur:-""}) )
|
||||||
|
--
|
||||||
|
2.46.1
|
||||||
|
|
Loading…
Reference in new issue