Make 'cat' default to '.' (cwd) instead of requiring argument
FossilOrigin-Name: 893d6cba578595b39026d5ee73566c354393b93619fc48822ce71b97da6f0e6b
This commit is contained in:
parent
56426af86c
commit
7c6a055f0c
1 changed files with 1 additions and 2 deletions
3
shelldap
3
shelldap
|
|
@ -857,8 +857,7 @@ sub display
|
||||||
my $use_pager = shift;
|
my $use_pager = shift;
|
||||||
|
|
||||||
unless ( $dn ) {
|
unless ( $dn ) {
|
||||||
print "No dn provided.\n";
|
$dn = '.'
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# support '.'
|
# support '.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue