diff options
-rwxr-xr-x | bitbake/bin/bitbake-layers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index b48590f936..86da2689e6 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
@@ -73,7 +73,7 @@ class Commands(cmd.Cmd): | |||
73 | else: | 73 | else: |
74 | sys.stdout.write("usage: bitbake-layers <command> [arguments]\n\n") | 74 | sys.stdout.write("usage: bitbake-layers <command> [arguments]\n\n") |
75 | sys.stdout.write("Available commands:\n") | 75 | sys.stdout.write("Available commands:\n") |
76 | procnames = self.get_names() | 76 | procnames = list(set(self.get_names())) |
77 | for procname in procnames: | 77 | for procname in procnames: |
78 | if procname[:3] == 'do_': | 78 | if procname[:3] == 'do_': |
79 | sys.stdout.write(" %s\n" % procname[3:].replace('_', '-')) | 79 | sys.stdout.write(" %s\n" % procname[3:].replace('_', '-')) |