From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6809 invoked by alias); 22 Sep 2017 15:02:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41743 Received: (qmail 21115 invoked by uid 1010); 22 Sep 2017 15:02:14 -0000 X-Qmail-Scanner-Diagnostics: from sonic307-7.consmr.mail.ir2.yahoo.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(87.248.110.32):SA:0(-3.1/5.0):. Processed in 1.304748 secs); 22 Sep 2017 15:02:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: okiddle@yahoo.co.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1506092524; bh=wSh7GM8QITLF05o0Iwqf7fVFUh1bBli8aP6VQB6MsuA=; h=From:To:Subject:Date:From:Subject; b=iSE+QHSb6SigatumW1p8EhKqfQAgWe338C2eRPEseD3M7/TYn3MNNaGo9XiIGHBhsEr3zJueZKYu+ic6jSLn24dUf8w1fwqgJYBhq0nuxJ9NQuADlhpPMrpR1sREFd8C0LcQENRIE66lrTNIgJJPtG8AbBrY2OP0/pVOkJX3lO6BLHyIlsiXIuDXHoPyFuow899eshm+u0U5ljxIjlHwfuU9aDbZB++ZaiT8dDf0VPjTBHbVJFTUkjjVDuw52JBekADsu3ST9r81JiE8RjF4L3VDrjIw7i7og5G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PU4X1E7z0m6iAnTZ65Vpca4yoC1kxY2qvPGpisDBpqacqsw8 a344o_7sTpa9f6fZrgvEhc1aw3p5fY_MkzdGY7bcvUExNhA-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- From: Oliver Kiddle To: Zsh workers Subject: PATCH: tune2fs completion update MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15505.1506065539.1@thecus.kiddle.eu> Date: Fri, 22 Sep 2017 09:32:19 +0200 Message-ID: <15506.1506065539@thecus.kiddle.eu> more new options. Updated through 1.43.6. Oliver diff --git a/Completion/Linux/Command/_tune2fs b/Completion/Linux/Command/_tune2fs index 73ce2dd12..1fc1709e4 100644 --- a/Completion/Linux/Command/_tune2fs +++ b/Completion/Linux/Command/_tune2fs @@ -1,23 +1,36 @@ #compdef tune2fs -_arguments \ - '-c[set max mounts between checks]:number of mounts' \ - '-C[set mount count]:number of mounts' \ - '-e[set error behavior]:error behavior:(continue remount-ro panic)' \ +_arguments -s -S \ + '-c+[set max mounts between checks]:number of mounts' \ + '-C+[set mount count]:number of mounts' \ + '-e+[set error behavior]:error behavior:(continue remount-ro panic)' \ + '-E+[set extended options]: :_values -s , "extended option" + clearmmp + "mmp_update_interval\:interval (seconds)" + "stride\:stride size (blocks)" + "stripe_width\:stipe width (blocks)" + "hash_alg\:hash algorithm\:(legacy half_md4 tea)" + "mount_opts\:mount option" + "(^test_fs)test_fs" + "(test_fs)^test_fs"' \ '-f[force tune2fs to complete even in the face of errors]' \ - '-g[set the group which can use reserved filesystem blocks]:group:_groups' \ - '-i[interval between checks]:duration' \ + '-g+[set the group which can use reserved filesystem blocks]:group:_groups' \ + '-i+[interval between checks]:duration' \ + '-I+[set inode size]:inode size' \ '-j[add an ext3 journal to the filesystem]' \ - '-J[journal options]: :_values -s , option "size[specify journal size]\:size" "device[use external journal]\:block device\:_files"' \ + '-J+[journal options]: :_values -s , option "size[specify journal size]\:size" "location\:location" "device[use external journal]\:block device\:_files"' \ '-l[list the contents of the filesystem superblock]' \ - '-L[set the volume label of the filesystem]:label' \ - '-m[set the percentage of reserved filesystem blocks]:percentage' \ - '-M[set the last-mounted directory for the filesystem]:directory:_files -/' \ - '-o[mount options]:options:_values -s , debug bsdgroups user_xattr acl uid16 journal_data journal_data_ordered journal_data_writeback' \ - '-O[set or clear filesystem features]: :_values -s , feature dir_index filetype has_journal sparse_super' \ - '-r[set the number of reserved filesystem blocks]:number' \ - '-s[set sparse super feature]:state:((0\:off 1\:on))' \ - '-T[set time last checked]:time specifier' \ - '-u[set user who can use reserved filesystem blocks]:user:_users' \ - '-U[set filesystem UUID]:UUID or special:(clear random time)' \ + '-L+[set the volume label of the filesystem]:label' \ + '-m+[set the percentage of reserved filesystem blocks]:percentage' \ + '-M+[set the last-mounted directory for the filesystem]:directory:_files -/' \ + '-o+[mount options]:options:_values -s , debug bsdgroups user_xattr acl uid16 journal_data journal_data_ordered journal_data_writeback nobarrier block_validity discard nodelalloc' \ + '-O+[set or clear filesystem features]: :_values -s , feature dir_index dir_nlink encrypt extentextent extra_isize filetype flex_bg has_journalhuge_file large_file metadata_csum mmp project quota read-only resize_inode sparse_super uninit_bg' \ + '-p+[set MMP check interval]:interval (seconds) [5]' \ + '-r+[set the number of reserved filesystem blocks]:number' \ + '-Q+[set quota feature on the superblock]: :_values -s , "quota option" usrquota grpquota prjquota' \ + '-s+[set sparse super feature]:state:((0\:off 1\:on))' \ + '-T+[set time last checked]:time specifier (YYYYMMDD[HH[MM[SS]]])' \ + '-u+[set user who can use reserved filesystem blocks]:user:_users' \ + '-U+[set filesystem UUID]:UUID or special:(clear random time)' \ + '-z+[save old contents of file system block to undo file]:undo file:_files' \ ':device:_files' .