Hi Leo,
I agree with your idea completely.
I noticed my wrong description.
> How about adding optional argument?
>
> $ global --nearness main # nearness sort based on the current
directory
> $ global --nearness=<start point directory>
> # nearness sort based on the start point
directory
The right description is as follows.
$ global --nearness <tag> # nearness sort based on the current
directory
$ global --nearness=<start point directory> <tag>
# nearness sort based on the start point
directory
In other words, the default value of <start point directory> is the current
directory.
Thank you for your comment.
Regards,
Shigio
2015-06-10 17:20 GMT+09:00 Leo Liu <[email protected]>:
> On 2015-06-08 11:32 +0800, Shigio YAMAGUCHI wrote:
> > $ global --nearness=<start point directory>
> > # nearness sort based on the start point directory
>
> I think this makes the --nearness more flexible i.e. it is a good
> change.
>
> --nearness uses current directory.
> --nearness=<DIR> uses DIR
>
> Cheers,
> Leo
>
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global