summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2024-02-27 14:54:49 +0100
committerJan Macku <jamacku@redhat.com>2024-02-27 15:41:28 +0100
commitf8457290c4bc6e8cf7113aa5c1a42fb6a40d8ce4 (patch)
tree85a45f74e66526ca091a831f5f1e304cc794ff08
parentci(lint): exclude zsh completion from ShellCheck (diff)
downloadsystemd-f8457290c4bc6e8cf7113aa5c1a42fb6a40d8ce4.tar.xz
systemd-f8457290c4bc6e8cf7113aa5c1a42fb6a40d8ce4.zip
fix(SC2148): add ShellCheck directive to bash completion scripts
-rw-r--r--shell-completion/bash/bootctl1
-rw-r--r--shell-completion/bash/busctl1
-rw-r--r--shell-completion/bash/coredumpctl1
-rw-r--r--shell-completion/bash/homectl1
-rw-r--r--shell-completion/bash/hostnamectl1
-rw-r--r--shell-completion/bash/journalctl1
-rw-r--r--shell-completion/bash/kernel-install1
-rw-r--r--shell-completion/bash/localectl1
-rw-r--r--shell-completion/bash/loginctl1
-rw-r--r--shell-completion/bash/machinectl1
-rw-r--r--shell-completion/bash/networkctl1
-rw-r--r--shell-completion/bash/oomctl1
-rw-r--r--shell-completion/bash/portablectl1
-rw-r--r--shell-completion/bash/resolvectl1
-rw-r--r--shell-completion/bash/systemctl.in1
-rw-r--r--shell-completion/bash/systemd-analyze1
-rw-r--r--shell-completion/bash/systemd-cat1
-rw-r--r--shell-completion/bash/systemd-cgls1
-rw-r--r--shell-completion/bash/systemd-cgtop1
-rw-r--r--shell-completion/bash/systemd-confext1
-rw-r--r--shell-completion/bash/systemd-cryptenroll1
-rw-r--r--shell-completion/bash/systemd-delta1
-rw-r--r--shell-completion/bash/systemd-detect-virt1
-rw-r--r--shell-completion/bash/systemd-dissect1
-rw-r--r--shell-completion/bash/systemd-id1281
-rw-r--r--shell-completion/bash/systemd-nspawn1
-rw-r--r--shell-completion/bash/systemd-path1
-rw-r--r--shell-completion/bash/systemd-resolve1
-rw-r--r--shell-completion/bash/systemd-run1
-rw-r--r--shell-completion/bash/systemd-sysext1
-rw-r--r--shell-completion/bash/timedatectl1
-rw-r--r--shell-completion/bash/udevadm1
32 files changed, 32 insertions, 0 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl
index 8d8b507ea9..45fcd502de 100644
--- a/shell-completion/bash/bootctl
+++ b/shell-completion/bash/bootctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# bootctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index 5464225b15..bb80c17683 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# busctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/coredumpctl b/shell-completion/bash/coredumpctl
index b5719905f9..ebab3607e4 100644
--- a/shell-completion/bash/coredumpctl
+++ b/shell-completion/bash/coredumpctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# coredumpctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/homectl b/shell-completion/bash/homectl
index 3bb84fedb2..527dd81c45 100644
--- a/shell-completion/bash/homectl
+++ b/shell-completion/bash/homectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# homectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl
index 27a2fe63d2..d8256a9fed 100644
--- a/shell-completion/bash/hostnamectl
+++ b/shell-completion/bash/hostnamectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# hostnamectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index c7f6a05a6e..c79a38c352 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# journalctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/kernel-install b/shell-completion/bash/kernel-install
index 4708777507..d3a9d9bbd8 100644
--- a/shell-completion/bash/kernel-install
+++ b/shell-completion/bash/kernel-install
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# kernel-install(8) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/localectl b/shell-completion/bash/localectl
index b601343a6b..1717842648 100644
--- a/shell-completion/bash/localectl
+++ b/shell-completion/bash/localectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# localectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl
index e6c476742b..7dbd9c04ea 100644
--- a/shell-completion/bash/loginctl
+++ b/shell-completion/bash/loginctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# loginctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl
index b28769b0b6..f4d46c9511 100644
--- a/shell-completion/bash/machinectl
+++ b/shell-completion/bash/machinectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# machinectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/networkctl b/shell-completion/bash/networkctl
index db59a9ce34..6126984ef8 100644
--- a/shell-completion/bash/networkctl
+++ b/shell-completion/bash/networkctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# networkctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/oomctl b/shell-completion/bash/oomctl
index dc45ba58c0..e1ad197bf5 100644
--- a/shell-completion/bash/oomctl
+++ b/shell-completion/bash/oomctl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# oomctl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/portablectl b/shell-completion/bash/portablectl
index 30e5da4aa2..b22bbd95d6 100644
--- a/shell-completion/bash/portablectl
+++ b/shell-completion/bash/portablectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# portablectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/resolvectl b/shell-completion/bash/resolvectl
index bd3e8bf939..1a5febe1e3 100644
--- a/shell-completion/bash/resolvectl
+++ b/shell-completion/bash/resolvectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# resolvectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index 5c444b7fa4..7f85e70d40 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemctl(1) completion -*- shell-script -*-
# vi: ft=sh
# SPDX-License-Identifier: LGPL-2.1-or-later
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
index 00cb478688..eb1061f787 100644
--- a/shell-completion/bash/systemd-analyze
+++ b/shell-completion/bash/systemd-analyze
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-analyze(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-cat b/shell-completion/bash/systemd-cat
index e1e6002172..6ccc7bf000 100644
--- a/shell-completion/bash/systemd-cat
+++ b/shell-completion/bash/systemd-cat
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-cat(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-cgls b/shell-completion/bash/systemd-cgls
index f80bea7353..49739bd0c6 100644
--- a/shell-completion/bash/systemd-cgls
+++ b/shell-completion/bash/systemd-cgls
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-cgls(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-cgtop b/shell-completion/bash/systemd-cgtop
index 731d9c924b..6a33cb227f 100644
--- a/shell-completion/bash/systemd-cgtop
+++ b/shell-completion/bash/systemd-cgtop
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-cgtop(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-confext b/shell-completion/bash/systemd-confext
index 09d114611c..d36f70fa09 100644
--- a/shell-completion/bash/systemd-confext
+++ b/shell-completion/bash/systemd-confext
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-confext(8) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-cryptenroll b/shell-completion/bash/systemd-cryptenroll
index f40a33bee6..6b13e58789 100644
--- a/shell-completion/bash/systemd-cryptenroll
+++ b/shell-completion/bash/systemd-cryptenroll
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-cryptenroll(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-delta b/shell-completion/bash/systemd-delta
index b148755d08..ac7f5e9709 100644
--- a/shell-completion/bash/systemd-delta
+++ b/shell-completion/bash/systemd-delta
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-delta(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-detect-virt b/shell-completion/bash/systemd-detect-virt
index 9ade2af220..edc861b20b 100644
--- a/shell-completion/bash/systemd-detect-virt
+++ b/shell-completion/bash/systemd-detect-virt
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-detect-virt(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-dissect b/shell-completion/bash/systemd-dissect
index 17fb6420de..8d2b43423c 100644
--- a/shell-completion/bash/systemd-dissect
+++ b/shell-completion/bash/systemd-dissect
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-dissect(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-id128 b/shell-completion/bash/systemd-id128
index 74ea1016a9..54d4ec8f7a 100644
--- a/shell-completion/bash/systemd-id128
+++ b/shell-completion/bash/systemd-id128
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-id128(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn
index b12711be80..085e6a4d18 100644
--- a/shell-completion/bash/systemd-nspawn
+++ b/shell-completion/bash/systemd-nspawn
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-nspawn(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-path b/shell-completion/bash/systemd-path
index 40e2f7ec48..59d6597d06 100644
--- a/shell-completion/bash/systemd-path
+++ b/shell-completion/bash/systemd-path
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-path(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-resolve b/shell-completion/bash/systemd-resolve
index 20d904aedf..17890a9a09 100644
--- a/shell-completion/bash/systemd-resolve
+++ b/shell-completion/bash/systemd-resolve
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-resolve(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run
index c18228d00f..3a26a65d4e 100644
--- a/shell-completion/bash/systemd-run
+++ b/shell-completion/bash/systemd-run
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-run(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/systemd-sysext b/shell-completion/bash/systemd-sysext
index b3f9f32fd5..5c15f076a8 100644
--- a/shell-completion/bash/systemd-sysext
+++ b/shell-completion/bash/systemd-sysext
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-sysext(8) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl
index 768b4a5e82..f22cde282b 100644
--- a/shell-completion/bash/timedatectl
+++ b/shell-completion/bash/timedatectl
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# timedatectl(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm
index 0606160c66..fbbaed001c 100644
--- a/shell-completion/bash/udevadm
+++ b/shell-completion/bash/udevadm
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# udevadm(8) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#