Afficher l'aide quand appellé sans paramètres.
This commit is contained in:
parent
d4fc00f0da
commit
30339551b7
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "--help" -o "$1" == "-h" ]; then
|
||||
if [ -z "$1" -o "$1" == "--help" -o "$1" == "-h" ]; then
|
||||
cat <<EOF
|
||||
Affiche les fichiers qui SONT des doublons, sous forme d'un script
|
||||
permettant leur suppression.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "--help" -o "$1" == "-h" ]; then
|
||||
if [ -z "$1" -o "$1" == "--help" -o "$1" == "-h" ]; then
|
||||
cat <<EOF
|
||||
Affiche les fichiers qui NE SONT PAS des doublons.
|
||||
Pour afficher les doublons, utilisez remdoubles.
|
||||
|
|
Loading…
Reference in New Issue
Block a user