From c48c971d935771909d104dd9af5e49df735be976 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 19 Apr 2020 20:01:12 +0200 Subject: [PATCH] _includes/cli.md: remove special case for base command The base command didn't have a description in the YAML file. Instead of fixing that up in the template, this was fixed upstream. Signed-off-by: Sebastiaan van Stijn --- _includes/cli.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/_includes/cli.md b/_includes/cli.md index d116d4eda9..db75bdc9e7 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -1,16 +1,11 @@ {% capture tabChar %} {% endcapture %} -{% capture dockerBaseDesc %}The base command for the Docker CLI.{% endcapture %} {% if include.datafolder and include.datafile %} {% assign controller_data = site.data[include.datafolder][include.datafile] %} ## Description -{% if include.datafile=="docker" %} -{{ dockerBaseDesc }} -{% else %} {{ controller_data.short }} -{% endif %} {% if controller_data.min_api_version %} @@ -164,12 +159,7 @@ The include.datafolder or include.datafile was not set. {% capture parentfile %}{{ controller_data.plink | replace: ".yaml", "" | replace: "docker_","" }}{% endcapture %} {% capture parentdatafile %}{{ controller_data.plink | replace: ".yaml", "" }}{% endcapture %} - -{% if controller_data.pname == "docker" %} - {% capture parentDesc %}{{ dockerBaseDesc }}{% endcapture %} -{% else %} - {% capture parentDesc %}{{ site.data[include.datafolder][parentdatafile].short }}{% endcapture %} -{% endif %} +{% capture parentDesc %}{{ site.data[include.datafolder][parentdatafile].short }}{% endcapture %} | Command | Description | | ------- | ----------- |