Date: Fri, 20 May 2022 22:25:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264108] bectl should probably fail when given an invalid sort property for -c Message-ID: <bug-264108-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264108 Bug ID: 264108 Summary: bectl should probably fail when given an invalid sort property for -c Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com Through mistyping, I noticed that given an invalid property such as=20 creatoin bectl behaves as if no sort was specified.=20 I imagine that bectl should, instead, fail (with an exit code?) so that no mistake can occur with scripted or unattended operations.=20 root@mowa219-gjp4-8570p-freebsd:~ # bectl list -c creatoin BE Active Mountpoint Space Created n255588-01235012e5b-c - - 70.1M 2022-05-14 13:13 n252381-75d20a5e386-b - - 23.5G 2022-01-12 23:23 n255588-01235012e5b-b-c1a - - 306M 2022-05-15 09:19 n255588-01235012e5b-d - - 15.8G 2022-05-15 00:29 n253343-9835900cb95-c - - 9.32G 2022-02-27 14:58 n254693-d7696096209-f - - 14.2G 2022-04-27 17:41 n255078-e140d551b78-h - - 7.06M 2022-05-11 21:18 n255588-01235012e5b-b-c1b NR / 3.85G 2022-05-16 08:53 n250511-5f73b3338ee-d - - 64.6G 2021-11-13 15:43 n253776-d5ad1713cc3-b - - 14.1G 2022-03-18 09:31 n253116-39a36707bd3-e - - 7.58G 2022-02-20 07:03 n253861-92e6b4712b5-e - - 14.5G 2022-04-02 16:02 n252997-b6724f7004c-c - - 8.10G 2022-02-11 23:07 n255588-01235012e5b-b - - 9.37M 2022-05-12 23:36 n254268-50e244964e9-d - - 11.0G 2022-04-09 18:50 n252450-5efa7281a79-a - - 6.87G 2022-01-14 19:27 n252505-cc68614da82-a - - 5.24G 2022-01-18 14:26 n252483-c8f8299a230-b - - 7.85G 2022-01-17 14:24 n255588-01235012e5b-a - - 19.4M 2022-05-12 22:23 n252531-0ce7909cd0b-h - - 10.1G 2022-02-06 12:24 root@mowa219-gjp4-8570p-freebsd:~ # bectl list -c creation BE Active Mountpoint Space Created n250511-5f73b3338ee-d - - 64.6G 2021-11-13 15:43 n252381-75d20a5e386-b - - 23.5G 2022-01-12 23:23 n252450-5efa7281a79-a - - 6.87G 2022-01-14 19:27 n252483-c8f8299a230-b - - 7.85G 2022-01-17 14:24 n252505-cc68614da82-a - - 5.24G 2022-01-18 14:26 n252531-0ce7909cd0b-h - - 10.1G 2022-02-06 12:24 n252997-b6724f7004c-c - - 8.10G 2022-02-11 23:07 n253116-39a36707bd3-e - - 7.58G 2022-02-20 07:03 n253343-9835900cb95-c - - 9.32G 2022-02-27 14:58 n253776-d5ad1713cc3-b - - 14.1G 2022-03-18 09:31 n253861-92e6b4712b5-e - - 14.5G 2022-04-02 16:02 n254268-50e244964e9-d - - 11.0G 2022-04-09 18:50 n254693-d7696096209-f - - 14.2G 2022-04-27 17:41 n255078-e140d551b78-h - - 7.06M 2022-05-11 21:18 n255588-01235012e5b-a - - 19.4M 2022-05-12 22:23 n255588-01235012e5b-b - - 9.37M 2022-05-12 23:36 n255588-01235012e5b-c - - 70.1M 2022-05-14 13:13 n255588-01235012e5b-d - - 15.8G 2022-05-15 00:29 n255588-01235012e5b-b-c1a - - 306M 2022-05-15 09:19 n255588-01235012e5b-b-c1b NR / 3.85G 2022-05-16 08:53 root@mowa219-gjp4-8570p-freebsd:~ # man bectl root@mowa219-gjp4-8570p-freebsd:~ # uname -KU 1400058 1400058 root@mowa219-gjp4-8570p-freebsd:~ # --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264108-227>