Skip to content

Commit c5966cb

Browse files
committed
command: remove unnecessary comment on enabled decl
1 parent d917470 commit c5966cb

File tree

13 files changed

+0
-13
lines changed

13 files changed

+0
-13
lines changed

src/commands/basename.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/clear.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/dirname.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/false.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/groups.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = switch (shared.target_os) {
65
.linux, .macos => true,
76
.windows => false,

src/commands/nproc.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33
// SPDX-FileCopyrightText: 2024 Leon Henrik Plickat
44

5-
/// Is this command enabled for the current target?
65
pub const enabled: bool = shared.target_os == .linux; // TODO: support other OSes
76

87
pub const command: Command = .{

src/commands/template.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// - Update the README
1111
// - PROFIT
1212

13-
/// Is this command enabled for the current target?
1413
pub const enabled: bool = true; // CHANGE THIS - USE `shared.target_os` TO DETERMINE IF THE COMMAND IS ENABLED FOR THE CURRENT TARGET
1514

1615
pub const command: Command = .{

src/commands/touch.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/true.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = true;
65

76
pub const command: Command = .{

src/commands/uname.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: MIT
22
// SPDX-FileCopyrightText: 2025 Lee Cannon <[email protected]>
33

4-
/// Is this command enabled for the current target?
54
pub const enabled: bool = switch (shared.target_os) {
65
.linux, .macos => true,
76
.windows => false,

0 commit comments

Comments
 (0)