Skip to content

Commit

Permalink
Rename argparse_test to argparse_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ledest committed Dec 15, 2023
1 parent 5f9f3aa commit cf06b6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/argparse_test.erl → test/argparse_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%% See the License for the specific language governing permissions and
%% limitations under the License.

-module(argparse_test).
-module(argparse_tests).

-compile({parse_transform, otpbp_pt}).

Expand Down Expand Up @@ -714,6 +714,7 @@ parse_opts(Args, Opts) -> parse(Args, #{arguments => Opts}).

parse_cmd(Args, Command) -> parse(Args, #{commands => Command}).

-ifndef(OTP_RELEASE_26).
%% ubiquitous command, containing sub-commands, and all possible option types
%% with all nargs. Not all combinations though.
ubiq_cmd() ->
Expand Down Expand Up @@ -774,3 +775,4 @@ ubiq_cmd() ->
"restart" => #{help => hidden,
arguments => [#{name => server, help => "server to restart"},
#{name => duo, short => $d, long => "-duo", help => "dual option"}]}}}.
-endif.

0 comments on commit cf06b6c

Please sign in to comment.