小编fla*_*diu的帖子

Bash脚本"用法"输出格式

输出bash脚本的帮助文本以使列线正确排列的好方法是什么?

就像是:

 Usage: mycommand [options]

    -h| --help           this is some help text.
                         this is more help text.
    -1|--first-option    this is my first option
    -2|--second-option   this is my second option
Run Code Online (Sandbox Code Playgroud)

bash scripting formatting

12
推荐指数
1
解决办法
1万
查看次数

你如何使用material2卡中的mat-card-header-text处理div?

我似乎无法将这个容器包裹在md卡中.

在我的材料卡片中,我有这个:

<div class="mat-card-header-text"> </div>
Run Code Online (Sandbox Code Playgroud)

我见过别人注意到了.它会在我的标题左侧产生40px的空间.没有CSS似乎也会影响它.

我正在使用Angular 4.x和Material2.

angular-material angular

12
推荐指数
5
解决办法
2万
查看次数

标签 统计

angular ×1

angular-material ×1

bash ×1

formatting ×1

scripting ×1