Add more docs to Command::arguments()

This commit is contained in:
2025-08-10 23:28:46 -03:00
parent 41eac08722
commit 6555ff672f
+2 -1
View File
@@ -124,7 +124,8 @@
//! "This command responds with a greeting." //! "This command responds with a greeting."
//! } //! }
//! //!
//! /// A list of arguments the command accepts. //! /// A list of arguments the command accepts. These are solely for documentation purposes,
//! /// they won't affect the parsing you do in the command's `execute` method.
//! fn arguments(&self) -> &'static [Argument] { //! fn arguments(&self) -> &'static [Argument] {
//! &[ //! &[
//! Argument { //! Argument {