# HG changeset patch # User Franz Glasner # Date 1725105894 -7200 # Node ID 277c58d6ffba403cc6b52ef975eeed866ecad920 # Parent 49d506213239cae15485ca5626b1d6b0ae3d3883 array.sh: improve docs diff -r 49d506213239 -r 277c58d6ffba share/local-bsdtools/array.sh --- a/share/local-bsdtools/array.sh Fri Aug 30 21:31:38 2024 +0200 +++ b/share/local-bsdtools/array.sh Sat Aug 31 14:04:54 2024 +0200 @@ -51,12 +51,15 @@ #: #: Create a new array #: +#: It is assumed that the array does not exist already. +#: #: Args: #: $1 (str): The name of the array. #: Must conform to shell variable naming conventions #: $2... (optional): Optional initialization values #: -#: It is assumed that the array does not exist already. +#: Exit: +#: Iff the array already exists. #: array_create() { local _name