(It's generally simplest when executables are as self-contained as
possible. I've long wondered why programs don't store their manual pages
in a special section of their ELF executable. It wouldn't be hard and
would solve the common problem of missing or out-of-sync manual pages.)
Yes, that's a good idea. It's my understanding that the old TOPS-20 operating system also stored what amounted to the grammar of each command in the command's executable. That way, the TOPS-20 command line could automatically and reliably provide command completion and help for every command, always in sync with the current version. From a user's perspective, it was a pleasure to use. I never had a chance to program that, though.