projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove default.jpg.
[paraslash.git]
/
command_util.sh
diff --git
a/command_util.sh
b/command_util.sh
index a735d3c247204ff409804594446a38c3071a0d24..f388b2cfb152db7cf34e0b2f84313ba26a209903 100755
(executable)
--- a/
command_util.sh
+++ b/
command_util.sh
@@
-63,7
+63,6
@@
read_one_command()
usage_txt=""
help_txt=""
perms_txt=""
usage_txt=""
help_txt=""
perms_txt=""
- line_handler=0
template=0
template_name=""
template_prototype=""
template=0
template_name=""
template_prototype=""
@@
-90,9
+89,6
@@
read_one_command()
D:)
desc_txt="$value"
;;
D:)
desc_txt="$value"
;;
- L:)
- line_handler=1
- ;;
U:)
usage_txt="$value"
;;
U:)
usage_txt="$value"
;;
@@
-209,12
+205,8
@@
dump_proto()
else
echo ' * \param fd The file descriptor to send output to.'
fi
else
echo ' * \param fd The file descriptor to send output to.'
fi
- if test $line_handler -eq 0; then
- echo ' * \param argc The number of arguments.'
- echo ' * \param argv The argument vector.'
- else
- echo ' * \param cmdline The full command line.'
- fi
+ echo ' * \param argc The number of arguments.'
+ echo ' * \param argv The argument vector.'
echo ' * '
echo " * Usage: $usage_txt"
echo ' * '
echo ' * '
echo " * Usage: $usage_txt"
echo ' * '
@@
-239,12
+231,7
@@
dump_array_member()
{
echo '{'
echo ".name = \"$name_txt\","
{
echo '{'
echo ".name = \"$name_txt\","
- if test $line_handler -eq 0; then
- echo ".handler = com_$name_txt,"
- else
- echo ".handler = NULL,"
- echo ".line_handler = com_$name_txt,"
- fi
+ echo ".handler = com_$name_txt,"
if test -n "$perms_txt"; then
echo ".perms = $perms_txt,"
fi
if test -n "$perms_txt"; then
echo ".perms = $perms_txt,"
fi