From nobody Fri May 20 22:25:45 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E901F1AED342 for ; Fri, 20 May 2022 22:25:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4hBd4DvRz4Sjk for ; Fri, 20 May 2022 22:25:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 713A01A752 for ; Fri, 20 May 2022 22:25:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24KMPjDu081627 for ; Fri, 20 May 2022 22:25:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24KMPj9C081626 for bugs@FreeBSD.org; Fri, 20 May 2022 22:25:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264108] bectl should probably fail when given an invalid sort property for -c Date: Fri, 20 May 2022 22:25:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653085545; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cl5s5kY6uYuwUmvLNpvoXP3t9eZV5Otsn9FGlubagkE=; b=weKRVQvo3QyJqNoVpFNU7BVNb0x0cxyIAiMdOUlgOE2K2V1WyLQaM64EeWcZ6bKRQezYeq FpvlSpCCgZo+8OJ6Nd4Ykr5SglnwtlL8YH3jR9gHc2Rrj98BGQRxPCXAJLkmPeG6bNeu8A M/9jXH0XEewtEAGK1mOIaCm0bKPFAy8+2/O7nFG1+/PEL9UlFh+HP3jE+PLgb+VM3vodgm zhAGp1sxrpq4WtUaYqsHLatBJSWtOOD2zo75trc8jNWfBRhLWyYFutfCoz/cOll2QQYVTW /8MaW58mUH3nzZpOWHZJZ8kluNXikccZWu65c5/aI06Bh9awW0/J2XVoXRytkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653085545; a=rsa-sha256; cv=none; b=e2mHo61OG/P+O9vlc9Iroli+YYInplqXiAH5a+gdWgdFD7GYaBnNtWTDj78K9vAnMMqGK5 X69s9bWxUfGGv4hjYTzQvesOt4zh41VHqtMJFWyrwB06rNRVN7LkW4ElRMJqBpR7xPLBKl S/F559w6xfJP2y0GtTBrsXCVFOQ62klSvI13xYv3em5IitLZgkhOuS+j6L1jr+ASmtJr4u fNVDq1rJUHKZA5EuUHMJY9KIOV1ygLw5n5FrNp9EoK91wK7cCJzAJ7MBSRkmETkfJD02LF 7D7+5xu/cAP2qJUmMQbx1N/Wtazzgg+oGSHm0mDkt4cZOUjiN93p38LDB5/WVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=