poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[COMMITTED] poke: use poke_completion_function for .sub


From: Jose E. Marchesi
Subject: [COMMITTED] poke: use poke_completion_function for .sub
Date: Thu, 02 Nov 2023 02:14:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

2023-11-02  Jose E. Marchesi  <jemarch@gnu.org>

        * poke/pk-cmd-ios.c (sub_cmd): Use poke_completion_function.
---
 ChangeLog         | 4 ++++
 poke/pk-cmd-ios.c | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 17ead859..4b275b66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-02  Jose E. Marchesi  <jemarch@gnu.org>
+
+       * poke/pk-cmd-ios.c (sub_cmd): Use poke_completion_function.
+
 2023-11-02  Jose E. Marchesi  <jemarch@gnu.org>
 
        * doc/poke.texi (Files as IO Spaces): Document that $<...>
diff --git a/poke/pk-cmd-ios.c b/poke/pk-cmd-ios.c
index 35af4dc8..68744ed4 100644
--- a/poke/pk-cmd-ios.c
+++ b/poke/pk-cmd-ios.c
@@ -580,7 +580,8 @@ const struct pk_cmd proc_cmd =
   {"proc", "i", PK_PROC_UFLAGS, 0, NULL, NULL, pk_cmd_proc, "proc PID", NULL};
 
 const struct pk_cmd sub_cmd =
-  {"sub", "s,i,i,?s", "", 0, NULL, NULL, pk_cmd_sub, "sub IOS, BASE, SIZE, 
[NAME]", NULL};
+  {"sub", "s,i,i,?s", "", 0, NULL, NULL, pk_cmd_sub, "sub IOS, BASE, SIZE, 
[NAME]",
+   poke_completion_function};
 
 const struct pk_cmd mem_cmd =
   {"mem", "s", "", 0, NULL, NULL, pk_cmd_mem, "mem NAME", NULL};
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]