summaryrefslogtreecommitdiffstats
path: root/commands/partition.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-06-10 12:14:24 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:37:40 +0800
commit7e3a16ef14ec2a83853bdcf631b28939f01f0c18 (patch)
tree2b92eda76480490fec9ef84668efb986071aca09 /commands/partition.c
parentc43a0877186ba4d742a27356014a3762195655d9 (diff)
downloadbarebox-7e3a16ef14ec2a83853bdcf631b28939f01f0c18.tar.gz
barebox-7e3a16ef14ec2a83853bdcf631b28939f01f0c18.tar.xz
complete: add delpart complete support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'commands/partition.c')
-rw-r--r--commands/partition.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 4892261885..6cce0423d3 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -32,6 +32,7 @@
#include <common.h>
#include <command.h>
+#include <complete.h>
#include <driver.h>
#include <malloc.h>
#include <partition.h>
@@ -225,5 +226,6 @@ BAREBOX_CMD_START(delpart)
.cmd = do_delpart,
.usage = "delete partition(s)",
BAREBOX_CMD_HELP(cmd_delpart_help)
+ BAREBOX_CMD_COMPLETE(devfs_partition_complete)
BAREBOX_CMD_END